]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove duplicated call to setup_coreplugin
authorKevin Benton <blak111@gmail.com>
Fri, 26 Jun 2015 01:31:38 +0000 (18:31 -0700)
committerKevin Benton <blak111@gmail.com>
Fri, 26 Jun 2015 01:38:17 +0000 (18:38 -0700)
The test case for vlan_transparent was calling setup_coreplugin
before calling the super setUp method which already calls
setup_coreplugin. This was causing duplicate core plugin fixtures
which resulted in patching the dhcp periodic check twice.

Change-Id: Ide4efad42748e799d8e9c815480c8ffa94b27b38
Partial-Bug: #1468998

neutron/tests/unit/extensions/test_vlantransparent.py

index 7d6d99a05a2031efb7a27a34dd40e337214b28df..de9c03e06304261d7a5bf3aa671ca914fcd1d060 100644 (file)
@@ -60,7 +60,6 @@ class VlanTransparentExtensionTestCase(test_db_base_plugin_v2.TestNetworksV2):
             self.saved_attr_map[res] = attrs.copy()
 
         # Update the plugin and extensions path
-        self.setup_coreplugin(plugin)
         cfg.CONF.set_override('allow_pagination', True)
         cfg.CONF.set_override('allow_sorting', True)
         ext_mgr = VlanTransparentExtensionManager()