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

Method testIgnoreFiles

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

Source from the content-addressed store, hash-verified

125 config["functionToCallLater"]()
126
127 def testIgnoreFiles( self ) :
128
129 config = {}
130 IECore.loadConfig(
131
132 IECore.SearchPath( os.path.join( os.path.dirname( __file__ ), "config", "ignoreFiles" ) ),
133 contextDict = { "config" : config },
134
135 )
136
137 self.assertFalse( "tildeConfigRan" in config )
138 self.assertFalse( "notDotPyRan" in config )
139
140 self.assertEqual( config["a"], 1000 )
141
142 def testOrderWithinDirectory( self ) :
143

Callers

nothing calls this directly

Calls 2

SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected