示例#1
0
    def tearDown(self):
        db.flavor_destroy(
                self.admin_context, self.disabled_type['name'])

        super(DisabledFlavorsWithRealDBTestV21, self).tearDown()
示例#2
0
 def destroy(self):
     db.flavor_destroy(self._context, self.name)
示例#3
0
文件: flavor.py 项目: hsluoyz/patron
 def destroy(self):
     db.flavor_destroy(self._context, self.name)
 def tearDown(self):
     # Remove the instance type from the database
     db.flavor_destroy(self.context, "cg1.4xlarge")
     super(InstanceTypeExtraSpecsTestCase, self).tearDown()
 def tearDown(self):
     # Remove the instance type from the database
     db.flavor_destroy(self.context, "cg1.4xlarge")
     super(InstanceTypeExtraSpecsTestCase, self).tearDown()
示例#6
0
    def tearDown(self):
        db.flavor_destroy(self.admin_context, self.disabled_type['name'])

        super(DisabledFlavorsWithRealDBTestV21, self).tearDown()