コード例 #1
0
ファイル: test_flavors.py プロジェクト: hsluoyz/patron
    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)
コード例 #4
0
 def tearDown(self):
     # Remove the instance type from the database
     db.flavor_destroy(self.context, "cg1.4xlarge")
     super(InstanceTypeExtraSpecsTestCase, self).tearDown()
コード例 #5
0
 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()