diff options
author | Zhenguo Niu <Niu.ZGlinux@gmail.com> | 2014-10-22 14:06:17 +0800 |
---|---|---|
committer | Zhenguo Niu <Niu.ZGlinux@gmail.com> | 2014-10-22 14:15:11 +0800 |
commit | 09ecdc55a040039dc46443cdcaba96781424e604 (patch) | |
tree | 516c1deeeda0dc0de721459fc7c4935a4c56beb5 /heat/tests/test_common_param_utils.py | |
parent | 5622e02a60e6c2aca4a78ed087c8eae958e09660 (diff) | |
download | heat-09ecdc55a040039dc46443cdcaba96781424e604.tar.gz |
Don't import HeatTestCase directly
Fix the HeatTestCase import issue as required by H302,
a following patch of https://review.openstack.org/#/c/129846/
Change-Id: Iab9a508682e9fe2932b7d00b191c8a4cdea4738b
Diffstat (limited to 'heat/tests/test_common_param_utils.py')
-rw-r--r-- | heat/tests/test_common_param_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/tests/test_common_param_utils.py b/heat/tests/test_common_param_utils.py index 5c0d7f2a4..2038cb000 100644 --- a/heat/tests/test_common_param_utils.py +++ b/heat/tests/test_common_param_utils.py @@ -12,10 +12,10 @@ # under the License. from heat.common import param_utils -from heat.tests.common import HeatTestCase +from heat.tests import common -class TestExtractBool(HeatTestCase): +class TestExtractBool(common.HeatTestCase): def test_extract_bool(self): for value in ('True', 'true', 'TRUE', True): self.assertTrue(param_utils.extract_bool(value)) |