From ba7d673d1ddd5bfa5aa1be5b26a59e9a8cd78a9f Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Thu, 25 Jun 2015 18:31:38 -0700 Subject: [PATCH] Remove duplicated call to setup_coreplugin 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/tests/unit/extensions/test_vlantransparent.py b/neutron/tests/unit/extensions/test_vlantransparent.py index 7d6d99a05..de9c03e06 100644 --- a/neutron/tests/unit/extensions/test_vlantransparent.py +++ b/neutron/tests/unit/extensions/test_vlantransparent.py @@ -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() -- 2.45.2