diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-02-22 23:21:01 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-02-22 23:21:01 -0800 |
| commit | 943b863bef09a4e2b3de36c26a3fabbcc6093411 (patch) | |
| tree | fe84a58d50ccd1dc006012fc654b2b1e0ea3fcc6 /nova/virt | |
| parent | afcec00e9e05031e1e7c086ff75fb05cf97c412d (diff) | |
Lots of test fixing
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/fake.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/virt/fake.py b/nova/virt/fake.py index 92749f38a..4346dffc1 100644 --- a/nova/virt/fake.py +++ b/nova/virt/fake.py @@ -319,7 +319,9 @@ class FakeConnection(object): return 'FAKE CONSOLE OUTPUT' def get_ajax_console(self, instance): - return 'http://fakeajaxconsole.com/?token=FAKETOKEN' + return {'token': 'FAKETOKEN', + 'host': 'fakeajaxconsole.com', + 'port': 6969} def get_console_pool_info(self, console_type): return {'address': '127.0.0.1', |
