summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-06-14 16:34:45 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-06-14 16:34:45 -0500
commitcf92a8e5b4538d79c529ef9159ce80bd22dd6024 (patch)
tree1a3ad673a4b40301e898ee7ff4a6ad5991038fd5
parente45e5038ade65baed7acc9fccfe773e7b7b25236 (diff)
updated db fakes
-rw-r--r--nova/tests/db/fakes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/db/fakes.py b/nova/tests/db/fakes.py
index f4289e778..5190cff8d 100644
--- a/nova/tests/db/fakes.py
+++ b/nova/tests/db/fakes.py
@@ -101,7 +101,7 @@ def stub_out_db_network_api(stubs):
virtual_interfacees = [virtual_interface_fields]
networks = [network_fields]
- def fake_floating_ip_allocate_address(context, project_id):
+ def fake_floating_ip_allocate_address(context, host, project_id):
ips = filter(lambda i: i['fixed_ip_id'] == None \
and i['project_id'] == None,
floating_ips)