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

Method testOrder

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

Source from the content-addressed store, hash-verified

52 self.assertEqual( config["a"], 1 )
53
54 def testOrder( self ) :
55
56 config = {}
57 IECore.loadConfig(
58
59 IECore.SearchPath( [
60 os.path.join( os.path.dirname( __file__ ), "config", "orderTwo" ),
61 os.path.join( os.path.dirname( __file__ ), "config", "orderOne" ),
62 ] ),
63
64 contextDict = { "config" : config },
65
66 )
67
68 self.assertEqual( config["a"], 2 )
69
70 def testIgnoreExceptions( self ) :
71

Callers

nothing calls this directly

Calls 2

SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected