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:
parent
32443f48fb
commit
a515b0a900
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user