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

        super(DisabledFlavorsWithRealDBTestV21, self).tearDown()
예제 #2
0
파일: flavor.py 프로젝트: 2Exception/patron
 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()