Merge "Replace assertEqual(None, *) with assertIsNone in test_consistency_transformer.py"
This commit is contained in:
commit
962853469e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user