summaryrefslogtreecommitdiff
path: root/heatclient/tests
diff options
context:
space:
mode:
authorblue55 <yllan@fiberhome.com>2017-06-22 11:18:45 +0800
committerblue55 <yllan@fiberhome.com>2017-06-22 14:05:43 +0800
commita0dfe0703b5966bfc9fb9f4c88564e4f527430fb (patch)
tree7e95a3b09bc2343a8625adc257ba10eac2125aaa /heatclient/tests
parent81fb46dc4f1ede19936964b541d0dde083cb113e (diff)
downloadpython-heatclient-a0dfe0703b5966bfc9fb9f4c88564e4f527430fb.tar.gz
Enable some off-by-default checks
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I815f189258356cb911d1e232b6f53c864e53c602
Diffstat (limited to 'heatclient/tests')
-rw-r--r--heatclient/tests/unit/test_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heatclient/tests/unit/test_utils.py b/heatclient/tests/unit/test_utils.py
index 3491816..0cb1462 100644
--- a/heatclient/tests/unit/test_utils.py
+++ b/heatclient/tests/unit/test_utils.py
@@ -415,8 +415,7 @@ class TestURLFunctions(testtools.TestCase):
tmpl_url)
self.assertEqual(utils.get_template_url(None, tmpl_url),
tmpl_url)
- self.assertEqual(utils.get_template_url(None, None),
- None)
+ self.assertIsNone(utils.get_template_url(None, None))
def test_base_url_for_url(self):
self.assertEqual(