( self )
| 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 | |
| 258 | if __name__ == "__main__": |
| 259 | unittest.main() |
nothing calls this directly
no test coverage detected