def test_invalid_extensions(self):
    app = compute.APIRouter()
    ext_mgr = compute_extensions.ExtensionManager()
    ext_mgr.register(InvalidExtension())
    self.assertTrue(ext_mgr.is_loaded('FOXNSOX'))
    self.assertFalse(ext_mgr.is_loaded('THIRD'))
def test_invalid_extensions(self):
    app = compute.APIRouter()
    ext_mgr = compute_extensions.ExtensionManager()
    ext_mgr.register(InvalidExtension())
    self.assertTrue(ext_mgr.is_loaded('FOXNSOX'))
    self.assertFalse(ext_mgr.is_loaded('THIRD'))