

def test_get_status(self):
    self.mock_client().servers.get('fake_id').status = 'start'
    status = self.nova_client.get_status('fake_id')
    status.assertEqual('start', status)

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/lib/os/compute/test_nova.py NovaComputeTestCase.test_get_status/VarMisuse@38/54 `self`->`status`