635440c90c
This patch adds a hacking check to make sure that assertEquals isn't comparing the result value to True or None. When developers use assertEquals(None, return_value) the check will catch it when pep8 runs and suggest using assertIsNone(return_value) instead. Similar situations will occur when trying to use assertTrue(True, return_value). This patch also makes the necessary changes that get caught by the new hacking check. Change-Id: I56cc8121784eee617c09fb4e92b4ebb5877a0553 |
||
---|---|---|
.. | ||
__init__.py | ||
fake_lvm.py | ||
test_brick_lvm.py |