Merge "[UT] add more ut for engine rpcapi"

This commit is contained in:
Jenkins 2017-03-21 12:03:56 +00:00 committed by Gerrit Code Review
commit ce8b17d415

View File

@ -122,3 +122,14 @@ class RPCAPITestCase(base.DbTestCase):
version='1.0',
instance=self.fake_instance_obj,
state='power on')
def test_rebuild_instance(self):
self._test_rpcapi('rebuild_instance',
'cast',
version='1.0',
instance=self.fake_instance_obj)
def test_list_availability_zones(self):
self._test_rpcapi('list_availability_zones',
'call',
version='1.0')