summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/v2/test_consoles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/v2/test_consoles.py b/nova/tests/api/openstack/v2/test_consoles.py
index 2b7f89149..801dab767 100644
--- a/nova/tests/api/openstack/v2/test_consoles.py
+++ b/nova/tests/api/openstack/v2/test_consoles.py
@@ -155,12 +155,13 @@ class ConsolesControllerTest(test.TestCase):
pool = dict(console_type='fake_type',
public_hostname='fake_hostname')
return dict(id=console_id, password='fake_password',
- port='fake_port', pool=pool)
+ port='fake_port', pool=pool, instance_name='inst-0001')
expected = {'console': {'id': 20,
'port': 'fake_port',
'host': 'fake_hostname',
'password': 'fake_password',
+ 'instance_name': 'inst-0001',
'console_type': 'fake_type'}}
self.stubs.Set(console.API, 'get_console', fake_get_console)