

def test_action_get_by_request_id_no_cell(self):
    fake_instance = {
        'uuid': uuids.instance,
        'cell_name': None,
    }
    self.assertRaises(exception.InstanceUnknownCell, self.cells_rpcapi.action_get_by_request_id, self.fake_context, fake_instance, 'req-fake')

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