def setUp(self):
    super(GetLegacyLimitsTest, self).setUp()
    self.new = {'servers': 1, 'class:VCPU': 2, 'class:MEMORY_MB': 3}
    self.legacy = {'instances': 1, 'cores': 2, 'ram': 3}
    self.resources = ['servers', 'class:VCPU', 'class:MEMORY_MB']
    self.resources.sort()
    self.flags(driver=limit_utils.UNIFIED_LIMITS_DRIVER, group='quota')
def setUp(self):
    super(GetLegacyLimitsTest, self).setUp()
    self.new = {'servers': 1, 'class:VCPU': 2, 'class:MEMORY_MB': 3}
    self.legacy = {'instances': 1, 'cores': 2, 'ram': 3}
    self.resources = ['servers', 'class:VCPU', 'class:MEMORY_MB']
    self.resources.sort()
    self.flags(driver=limit_utils.UNIFIED_LIMITS_DRIVER, group='quota')