Merge "Use assertIsNone(...) instead of assertEqual(None, ...)."

This commit is contained in:
Jenkins 2017-05-05 08:04:36 +00:00 committed by Gerrit Code Review
commit 32e15d5e11
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class ShellTest(utils.TestCase):
def test_positive_non_zero_float(self):
output = magnumclient.shell.positive_non_zero_float(None)
self.assertEqual(None, output)
self.assertIsNone(output)
output = magnumclient.shell.positive_non_zero_float(5)
self.assertEqual(5, output)