The test test_create_dvr_fip_interfaces_for_restart_l3agent_case was
causing a file fip-linklocal-networks to be created when the tests are
run, this patch ensures that the correct part of the LinkLocalAllocator
is patched to prevent this in the test case.
Change-Id: Ifd0cae56324364b281a9279047b26a182b77905a
Closes-Bug:
1450090
agent_gateway_port[0])
self.assertTrue(ri.rtr_fip_subnet)
- def test_create_dvr_fip_interfaces_for_restart_l3agent_case(self):
+ @mock.patch.object(lla.LinkLocalAllocator, '_write')
+ def test_create_dvr_fip_interfaces_for_restart_l3agent_case(self,
+ lla_write):
fake_floatingips = {'floatingips': [
{'id': _uuid(),
'floating_ip_address': '20.0.0.3',