Replace assertEqual(None, *) with assertIsNone in tests

Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I0dfc37bd9aad42914e1cd4b2bfadb71358d62bf4
Closes-bug: #1280522
This commit is contained in:
zhangguoqing 2016-01-12 09:27:02 +00:00
parent 32443f48fb
commit a515b0a900
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class TestRunner(base.TestCase):
def test_path_mapping_default(self):
dr = doxrunner.Runner(argparse.Namespace(path_map=None,
user_map=None))
self.assertEqual(None, dr.path_map)
self.assertIsNone(dr.path_map)
def test_is_docker_installed(self):
dr = doxrunner.Runner(argparse.Namespace(