( self )
| 94 | self.assertEqual( config["a"], 1 ) |
| 95 | |
| 96 | def testThrowExceptions( self ) : |
| 97 | |
| 98 | config = {} |
| 99 | self.assertRaises( |
| 100 | |
| 101 | RuntimeError, |
| 102 | IECore.loadConfig, |
| 103 | IECore.SearchPath( [ |
| 104 | os.path.join( os.path.dirname( __file__ ), "config", "orderOne" ), |
| 105 | os.path.join( os.path.dirname( __file__ ), "config", "exceptions" ), |
| 106 | ] ), |
| 107 | contextDict = { "config" : config }, |
| 108 | raiseExceptions = True |
| 109 | |
| 110 | ) |
| 111 | |
| 112 | self.assertFalse( "a" in config ) |
| 113 | |
| 114 | def testScope( self ) : |
| 115 |
nothing calls this directly
no test coverage detected