nova/nova/tests/unit/pci
Gábor Antal 03b9937884 Use more specific asserts in tests
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>
2016-10-12 11:12:08 +01:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py pci: avoid parsing whitelist repeatedly 2016-03-09 18:49:15 +00:00
test_devspec.py Resolve PCI devices on the host during Guest boot-up. 2016-08-01 14:53:58 +05:30
test_manager.py Enable python34 tests for nova.tests.unit.pci.test_manager and test_stats 2016-07-04 10:44:15 -04:00
test_request.py conf: Move PCI options to a PCI group 2016-09-29 10:02:08 +01:00
test_stats.py Use more specific asserts in tests 2016-10-12 11:12:08 +01:00
test_utils.py Add missing slash to dir path 2016-09-20 13:50:39 -04:00
test_whitelist.py pci: Remove get_pci_devices_filter() method 2015-08-11 17:19:22 -04:00