Merge "Replace assertEqual(None, *) with assertIsNone in test_consistency_transformer.py"

This commit is contained in:
Jenkins 2016-08-17 15:54:55 +00:00 committed by Gerrit Code Review
commit 962853469e

View File

@ -64,7 +64,7 @@ class TestConsistencyTransformer(base.BaseTest):
self._validate_consistency_vertex_props(vertex, event)
neighbors = wrapper.neighbors
self.assertEqual(None, neighbors)
self.assertIsNone(neighbors)
action = wrapper.action
self.assertIn(action, self.actions)
@ -88,7 +88,7 @@ class TestConsistencyTransformer(base.BaseTest):
self._validate_consistency_vertex_props(vertex, event)
neighbors = wrapper.neighbors
self.assertEqual(None, neighbors)
self.assertIsNone(neighbors)
action = wrapper.action
self.assertIn(action, self.actions)