

def test_get_quotas(self):
    self.mock_client().quotas.get.return_value = self.fake_tenant_quota_0
    tenant_quota = self.nova_client.get_quotas('fake_tenant_id')
    self.assertEqual(self.fake_tenant_quota_0, tenant_quota)

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/lib/os/compute/test_nova.py NovaComputeTestCase.test_get_quotas/original