MH plugin tests - remove directory._instance
Those lines are edundant and ugly so it can be removed. Change-Id: I1cc94a08baf52958df7309a46faa052e1b0e6039
This commit is contained in:
parent
3009f37757
commit
4e4f289691
@ -13,8 +13,6 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
import fixtures
|
||||
|
||||
import mock
|
||||
from neutron.tests import base
|
||||
from oslo_config import cfg
|
||||
@ -75,9 +73,6 @@ class ConfigurationTest(base.BaseTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(ConfigurationTest, self).setUp()
|
||||
self.useFixture(fixtures.MonkeyPatch(
|
||||
'neutron_lib.plugins.directory._instance',
|
||||
None))
|
||||
# Avoid runs of the synchronizer looping call
|
||||
patch_sync = mock.patch.object(sync, '_start_loopingcall')
|
||||
patch_sync.start()
|
||||
@ -240,9 +235,6 @@ class OldNVPConfigurationTest(base.BaseTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(OldNVPConfigurationTest, self).setUp()
|
||||
self.useFixture(fixtures.MonkeyPatch(
|
||||
'neutron_lib.plugins.directory._instance',
|
||||
None))
|
||||
# Avoid runs of the synchronizer looping call
|
||||
patch_sync = mock.patch.object(sync, '_start_loopingcall')
|
||||
patch_sync.start()
|
||||
|
Loading…
Reference in New Issue
Block a user