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

Method testConfigIsolation

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

Source from the content-addressed store, hash-verified

233 self.assertEqual( config["a"], 2 )
234
235 def testConfigIsolation( self ) :
236
237 IECore.loadConfig(
238
239 IECore.SearchPath( [
240 os.path.join( os.path.dirname( __file__ ), "config", "isolation" ),
241 ] ),
242
243 raiseExceptions = True
244
245 )
246
247 IECore.loadConfig(
248
249 IECore.SearchPath( [
250 os.path.join( os.path.dirname( __file__ ), "config", "isolation" ),
251 ] ),
252 {},
253
254 raiseExceptions = True
255
256 )
257
258if __name__ == "__main__":
259 unittest.main()

Callers

nothing calls this directly

Calls 2

SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected