예제 #1
0
 def setUp(self):
     super(ExtensionInfoTest, self).setUp()
     ext_info = extension_info.LoadedExtensionInfo()
     ext_info.extensions = fake_extensions
     self.controller = extension_info.ExtensionInfoController(ext_info)
예제 #2
0
 def __init__(self, init_only=None):
     self._loaded_extension_info = extension_info.LoadedExtensionInfo()
     super(APIRouterV1, self).__init__(init_only)
예제 #3
0
 def test_check_bad_extension(self):
     loaded_ext_info = extension_info.LoadedExtensionInfo()
     self.assertFalse(loaded_ext_info._check_extension(fake_bad_extension))