summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2011-06-01 14:10:48 -0500
committerJason Kölker <jason@koelker.net>2011-06-01 14:10:48 -0500
commit433ddaaa345f8484046501bf2765bfc06480e6fd (patch)
treebc9b136c0550d35cea38dfab39532b6f07596cb8
parentbfa26c60f38ea8b10b4362c447c9c123419884ce (diff)
fix the syntax
-rw-r--r--nova/tests/db/fakes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/db/fakes.py b/nova/tests/db/fakes.py
index c5d39d666..9a720dad4 100644
--- a/nova/tests/db/fakes.py
+++ b/nova/tests/db/fakes.py
@@ -168,12 +168,12 @@ def stub_out_db_network_api(stubs, host='localhost'):
def fake_network_get_all(context):
return [FakeModel(network_fields)]
- def fake_network_get_all_by_host(context, host)
+ def fake_network_get_all_by_host(context, host):
net = dict(network_fields)
net['host'] = host
return [FakeModel(net)]
- def fake_network_get_all_by_instance(context, instance_id)
+ def fake_network_get_all_by_instance(context, instance_id):
return [FakeModel(network_fields)]
def fake_network_set_host(context, network_id, host_id):
@@ -327,7 +327,7 @@ def stub_out_db_instance_api(stubs, injected=True):
def fake_fixed_ip_get_all_by_instance(context, instance_id):
return [FakeModel(fixed_ip_fields)]
- funcs = [fake_network_get_by_instance
+ funcs = [fake_network_get_by_instance,
fake_network_get_all_by_instance,
fake_instance_type_get_all,
fake_instance_type_get_by_name,