]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Correct usage of assertEqual for boolean values
authorSean McGinnis <sean_mcginnis@dell.com>
Thu, 6 Aug 2015 22:13:36 +0000 (17:13 -0500)
committerSean McGinnis <sean_mcginnis@dell.com>
Thu, 6 Aug 2015 22:13:36 +0000 (17:13 -0500)
commit92b65e75411e4e6a6c46281af4856d2e0b91b80d
treefc6373c29b7b52337981a5900934ed5a97dfabc1
parent3a8b27c752923ed51d67caf180666c74251c93b3
Correct usage of assertEqual for boolean values

There are several cases where unit tests are calling
assertEqual([True|False]) instead of the corresponding
assertTrue|assertFalse.

Pretty minor thing, but this patch corrects them to the
more correct calls.

Could add hacking check, but that seems overkill for
something like this.

Change-Id: I1de629ed9e9770157be47f4b1b0ada8388029072
cinder/tests/unit/api/contrib/test_volume_unmanage.py
cinder/tests/unit/api/test_xmlutil.py
cinder/tests/unit/image/test_glance.py
cinder/tests/unit/test_dothill.py
cinder/tests/unit/test_hplefthand.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_vzstorage.py
cinder/tests/unit/volume/drivers/test_hgst.py