cinder/cinder/tests/unit/brick
Kendall Nelson 635440c90c Hacking Checks for assertTrue/IsNone()
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
2015-11-25 11:22:35 -06:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_lvm.py Efficient image transfer for Glance cinder store 2015-08-25 10:40:25 -04:00
test_brick_lvm.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00