Skip to content

Commit ee0fb4a

Browse files
committed
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: I8964a10ae3529e978bfab1d8140f95da4b56615c
1 parent 4c05f1f commit ee0fb4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/tests/identity/v3/test_service_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,5 +408,5 @@ def prepare(self):
408408
# expect take_action() to return (None, None) as none of --disabled,
409409
# --enabled, --description, --service-provider-url, --auth_url option
410410
# was set.
411-
self.assertEqual(columns, None)
412-
self.assertEqual(data, None)
411+
self.assertIsNone(columns)
412+
self.assertIsNone(data)

0 commit comments

Comments
 (0)