diff options
Diffstat (limited to 'heat/tests/test_constraints.py')
-rw-r--r-- | heat/tests/test_constraints.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/heat/tests/test_constraints.py b/heat/tests/test_constraints.py index 11e2954d8..2a4023b88 100644 --- a/heat/tests/test_constraints.py +++ b/heat/tests/test_constraints.py @@ -13,14 +13,14 @@ import six -import testtools from heat.common import exception from heat.engine import constraints from heat.engine import environment +from heat.tests import common -class SchemaTest(testtools.TestCase): +class SchemaTest(common.HeatTestCase): def test_range_schema(self): d = {'range': {'min': 5, 'max': 10}, 'description': 'a range'} r = constraints.Range(5, 10, description='a range') @@ -432,7 +432,7 @@ class SchemaTest(testtools.TestCase): self.assertEqual(['a', 'b'], res) -class CustomConstraintTest(testtools.TestCase): +class CustomConstraintTest(common.HeatTestCase): def setUp(self): super(CustomConstraintTest, self).setUp() |