( self )
| 40 | class SearchPathTest( unittest.TestCase ) : |
| 41 | |
| 42 | def test( self ) : |
| 43 | |
| 44 | s = IECore.SearchPath() |
| 45 | self.assertEqual( s.paths, [] ) |
| 46 | s.setPaths( os.pathsep.join( [ "a", "b", "c" ] ), os.pathsep ) |
| 47 | self.assertEqual( s.paths, [ "a", "b", "c" ] ) |
| 48 | s.paths = [ "one", "two", "three" ] |
| 49 | self.assertEqual( s.paths, [ "one", "two", "three" ] ) |
| 50 | |
| 51 | s = IECore.SearchPath( os.pathsep.join( [ "a", "b", "c" ] ), os.pathsep ) |
| 52 | self.assertEqual( s.paths, [ "a", "b", "c" ] ) |
| 53 | self.assertEqual( s.getPaths( os.pathsep ), os.pathsep.join( [ "a", "b", "c" ] ) ) |
| 54 | |
| 55 | def testFind( self ) : |
| 56 |
nothing calls this directly
no test coverage detected