

def test_get_migrations(self):
    call_info = self._stub_rpc_method('call', None)
    filters = {
        'cell_name': 'ChildCell',
        'status': 'confirmed',
    }
    self.cells_rpcapi.get_migrations(self.fake_context, filters)
    expected_args = {
        'filters': filters,
    }
    self._check_result(call_info, 'get_migrations', expected_args, version='1.11')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_get_migrations/original