def test_get_usage_unified_limits_disabled(self):
    self.flags(driver='nova.quota.NoopQuotaDriver', group='quota')
    e = self.assertRaises(NotImplementedError, placement_limits._get_usage, self.context, uuids.project, [])
    self.assertEqual('unified limits is disabled', str(e))
def test_get_usage_unified_limits_disabled(self):
    self.flags(driver='nova.quota.NoopQuotaDriver', group='quota')
    e = self.assertRaises(NotImplementedError, placement_limits._get_usage, self.context, uuids.project, [])
    self.assertEqual('unified limits is disabled', str(e))