Add rpc call test

Change-Id: I36a2cc66fe70c4fc7ba978a9ef27e2ea1f6be0d7
Closes-Bug: #1808962
This commit is contained in:
Rui Yuan Dou 2018-12-18 18:26:35 +08:00
parent ca8d5dad0b
commit 8d2d3395ce

View File

@ -134,3 +134,10 @@ class RPCAPITestCase(base.DbTestCase):
version='1.0',
server=self.fake_server_obj,
preserve_ephemeral=True)
def test_get_serial_console(self):
self._test_rpcapi('get_serial_console',
'call',
version='1.0',
server=self.fake_server_obj,
console_type='shellinabox')