summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2011-10-31 18:39:18 +0000
committerGerrit Code Review <review@openstack.org>2011-10-31 18:39:18 +0000
commit99bbd37037a15a07a47a4dc482306bea7dcf4193 (patch)
tree3de2efb05fcea713cded19740b4ab75ba089b141 /nova/tests
parent5b8133a83939fd552b569c4b034cef43907ea1ce (diff)
parent606827f92e74d8ff5ae13e3210abedd511fd4518 (diff)
Merge "Make sure networks returned from get_instance_nw_info have a label"
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_quantum.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/tests/test_quantum.py b/nova/tests/test_quantum.py
index 29d604e06..1a199131d 100644
--- a/nova/tests/test_quantum.py
+++ b/nova/tests/test_quantum.py
@@ -61,6 +61,9 @@ class FakeQuantumClientConnection(object):
except KeyError:
return False
+ def get_network_name(self, tenant_id, net_id):
+ return self.nets[net_id]['net-name']
+
def _confirm_not_attached(self, interface_id):
for n in self.nets.values():
for p in n['ports'].values():