03b9937884
Use asserts with more specific assert methods, e.g.: from assertTrue(sth == None) to assertIsNone(*), assertTrue(isinstance(inst, type)) to assertIsInstace(inst, type) or assertTrue(not sth) to assertFalse(sth). This change ensures a better description will be shown on fail. This is the recommended way to use assertions provided by testtools. Change-Id: Ia4a34e0145176e077bbf7e9ed6f69d815c6ed840 Co-authored-by: Stephen Finucane <sfinucan@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_devspec.py | ||
test_manager.py | ||
test_request.py | ||
test_stats.py | ||
test_utils.py | ||
test_whitelist.py |