Commit 8e089dbf authored by Sigmund Augdal's avatar Sigmund Augdal

Run prepare before setting our address hashes, since it overrides them

parent 043fc8f0
......@@ -12,9 +12,9 @@ class TestProcessSecurityGroup(object):
def setup(self, client, subproc):
subproc.return_value = ""
self.generator = iptables_configurator.Generator(None, None, None)
self.generator.prepare()
self.generator.addresses_v4 = {'00:11:22:33:44:55': '127.0.0.1'}
self.generator.addresses_v6 = {'00:11:22:33:44:55': 'fe00::1'}
self.generator.prepare()
@mock.patch('nova_router.security_groups.get_group_members')
@mock.patch('nova_router.security_groups.get_group_mode')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment