Correct spelling mistake

Change-Id: I3bd2f76e73459e50d255f75f79262af537b29596
This commit is contained in:
lawrancejing 2013-08-28 21:26:32 +08:00
parent ef990f0f66
commit b3e617fec8

View File

@ -71,7 +71,7 @@ class QuotaExtensionTestCase(testlib_api.WebTestCase):
self._plugin_patcher = mock.patch(TARGET_PLUGIN, autospec=True) self._plugin_patcher = mock.patch(TARGET_PLUGIN, autospec=True)
self.plugin = self._plugin_patcher.start() self.plugin = self._plugin_patcher.start()
self.plugin.return_value.supported_extension_aliases = ['quotas'] self.plugin.return_value.supported_extension_aliases = ['quotas']
# QUOTAS will regester the items in conf when starting # QUOTAS will register the items in conf when starting
# extra1 here is added later, so have to do it manually # extra1 here is added later, so have to do it manually
quota.QUOTAS.register_resource_by_name('extra1') quota.QUOTAS.register_resource_by_name('extra1')
ext_mgr = extensions.PluginAwareExtensionManager.get_instance() ext_mgr = extensions.PluginAwareExtensionManager.get_instance()