MCPcopy Create free account
hub / github.com/ImageEngine/cortex / testSubdirectory

Method testSubdirectory

test/IECore/ConfigLoaderTest.py:156–168  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

154 self.assertEqual( config["lastRun"], "b" )
155
156 def testSubdirectory( self ) :
157
158 config = {}
159 IECore.loadConfig(
160
161 IECore.SearchPath( os.path.join( os.path.dirname( __file__ ), "config" ) ),
162 contextDict = { "config" : config },
163 subdirectory = "orderDir",
164
165 )
166
167 self.assertTrue( "lastRun" in config )
168 self.assertFalse( "a" in config )
169
170 def testSearchPathAsEnvVar( self ) :
171

Callers

nothing calls this directly

Calls 2

SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected