Merge "Fix UT BridgeLibTest when IPv6 is disabled" into stable/pike
This commit is contained in:
commit
ac775244e6
@ -29,6 +29,9 @@ class BridgeLibTest(base.BaseTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(BridgeLibTest, self).setUp()
|
||||
mock.patch(
|
||||
'neutron.common.ipv6_utils.is_enabled_and_bind_by_default',
|
||||
return_value=True).start()
|
||||
ip_wrapper = mock.patch('neutron.agent.linux.ip_lib.IPWrapper').start()
|
||||
self.execute = ip_wrapper.return_value.netns.execute
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user