Merge "Replace assertEqual(None, *) with assertIsNone in tests"

This commit is contained in:
Jenkins 2016-01-06 18:31:51 +00:00 committed by Gerrit Code Review
commit 366c6b729b

View File

@ -168,7 +168,7 @@ class CommonUtilsTest(TestCase):
self.cmpUtils.diff_dicts(expected, provided))
def test_yamlutils_get_dict_missing_file(self):
self.assertEqual(None, self.yamlUtils.get_dict('./no_file.yaml'))
self.assertIsNone(self.yamlUtils.get_dict('./no_file.yaml'))
def test_yamlutils_get_dict(self):
yaml_file = os.path.join(