Merge "Using assertFalse(A) instead of assertEqual(False, A)"

This commit is contained in:
Jenkins 2017-07-14 19:55:18 +00:00 committed by Gerrit Code Review
commit fadb8b6dd9
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class LoadingTests(utils.TestCase):
# only the options not passed by kwargs should get passed to getter
self.assertEqual(set(('a-bool', 'a-float')), called_opts)
self.assertEqual(False, p['a_bool'])
self.assertFalse(p['a_bool'])
self.assertEqual(99.99, p['a_float'])
self.assertEqual('another', p['a_str'])
self.assertEqual(66, p['a_int'])