

def test_cell_create(self):
    call_info = self._stub_rpc_method('call', 'fake_response')
    result = self.cells_rpcapi.cell_create(self.fake_context, 'values')
    expected_args = {
        'values': 'values',
    }
    self._check_result(call_info, 'cell_create', expected_args, version='1.13')
    self.assertEqual('fake_response', result)

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