cinder/cinder/tests/unit/message
Eric Harney 7a84172cb2 Tests: Disallow use of assertTrue(str)
self.assertTrue(string) is fairly dangerous because
things like self.assertTrue('False') will pass.

Require a more specific assertion when passing a
string to assertTrue, which should help prevent mistakes.

Fix up tests that do this currently, some of which
appear to not be testing what they intended.

Change-Id: I0cd29b9f3247ae5b7b3c478b96970b73d69a72c0
2017-06-15 12:09:52 -04:00
..
__init__.py User messages API for error cases 2016-04-29 18:41:10 +00:00
test_api.py Add support for generalized filtering on list APIs 2017-05-08 13:04:59 +08:00
test_defined_messages.py Tests: Disallow use of assertTrue(str) 2017-06-15 12:09:52 -04:00