diff options
Diffstat (limited to 'nova/tests/db/fakes.py')
-rw-r--r-- | nova/tests/db/fakes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/db/fakes.py b/nova/tests/db/fakes.py index 37e965c2df..2b93d610f4 100644 --- a/nova/tests/db/fakes.py +++ b/nova/tests/db/fakes.py @@ -168,7 +168,7 @@ def stub_out_db_network_api(stubs): ips = filter(lambda i: i['address'] == address, fixed_ips) if not ips: - raise exception.NoMoreFixedIps() + raise exception.NoMoreFixedIps(net='fake_net') ips[0]['instance'] = True ips[0]['instance_id'] = instance_id @@ -177,7 +177,7 @@ def stub_out_db_network_api(stubs): i['network_id'] is None) and not i['instance'], fixed_ips) if not ips: - raise exception.NoMoreFixedIps() + raise exception.NoMoreFixedIps(net=network_id) ips[0]['instance'] = True ips[0]['instance_id'] = instance_id return ips[0]['address'] |