155
155
pool = dict(console_type='fake_type',
156
156
public_hostname='fake_hostname')
157
157
return dict(id=console_id, password='fake_password',
160
160
expected = {'console': {'id': 20,
163
163
'password': 'fake_password',
164
165
'console_type': 'fake_type'}}
166
167
self.stubs.Set(console.API, 'get_console', fake_get_console)