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

Method testLoadConfig

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

Source from the content-addressed store, hash-verified

40class ConfigLoaderTest( unittest.TestCase ) :
41
42 def testLoadConfig( self ) :
43
44 config = {}
45 IECore.loadConfig(
46
47 IECore.SearchPath( os.path.join( os.path.dirname( __file__ ), "config", "orderOne" ) ),
48 contextDict = { "config" : config },
49
50 )
51
52 self.assertEqual( config["a"], 1 )
53
54 def testOrder( self ) :
55

Callers

nothing calls this directly

Calls 2

SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected