summaryrefslogtreecommitdiff
path: root/heat/tests/test_attributes.py
diff options
context:
space:
mode:
authorSergey Kraynev <skraynev@mirantis.com>2015-03-31 09:16:04 -0400
committerSergey Kraynev <skraynev@mirantis.com>2015-03-31 15:17:29 +0000
commit82f07cc69b3c9c57e3ac772491434ddbecbf3e49 (patch)
tree855122c436394997032ea44fd2413916b0ffbe48 /heat/tests/test_attributes.py
parent34157ca28c1a6a75c92332413888b2a10b8157a5 (diff)
downloadheat-82f07cc69b3c9c57e3ac772491434ddbecbf3e49.tar.gz
Use HeatTestCase as parent instead of testtools
Let's use base class for test, which allows to write scenarious tests in child clases. Change-Id: I8276513d6ce5a83ce1b46ff3107cc0e3223d9b4d
Diffstat (limited to 'heat/tests/test_attributes.py')
-rw-r--r--heat/tests/test_attributes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heat/tests/test_attributes.py b/heat/tests/test_attributes.py
index da673fc3f..fb99db9f0 100644
--- a/heat/tests/test_attributes.py
+++ b/heat/tests/test_attributes.py
@@ -12,7 +12,6 @@
# under the License.
import mock
-import testtools
from heat.engine import attributes
from heat.engine import resources
@@ -20,7 +19,7 @@ from heat.engine import support
from heat.tests import common
-class AttributeSchemaTest(testtools.TestCase):
+class AttributeSchemaTest(common.HeatTestCase):
def test_schema_all(self):
d = {'description': 'A attribute'}
s = attributes.Schema('A attribute')