Merge "Delete useless and wrong comments in NEC Plugin"

This commit is contained in:
Jenkins 2013-08-07 16:23:07 +00:00 committed by Gerrit Code Review
commit 624356bc8c
2 changed files with 1 additions and 7 deletions

View File

@ -234,8 +234,6 @@ class NECPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
return port
# Quantm Plugin Basic methods
def create_network(self, context, network):
"""Create a new network entry on DB, and create it on OFC."""
LOG.debug(_("NECPluginV2.create_network() called, "

View File

@ -78,12 +78,8 @@ class NecPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):
self.addCleanup(mock.patch.stopall)
self._set_nec_ini()
self.addCleanup(self._clean_nec_ini)
super(NecPluginV2TestCase, self).setUp(self._plugin_name)
# NOTE: `test_config' is global, and most tests don't set
# test_config['config_files'] but read this in setUp().
# So clean test_config['config_files'] ASAP, to avoid side effects
# on other tests which are running at the same time.
self._clean_nec_ini()
self.plugin = manager.NeutronManager.get_plugin()
self.plugin.ofc = fake_ofc_manager.patch_ofc_manager()