nova/nova/tests/unit/pci
Dan Smith 9642cd339f Fix crashing during guest config with pci_devices=None
The Instance.pci_devices field is nullable, but the get_instance_pci_devs()
function does not account for that. If it is passed an instance (from an
older deployment) with no pci_devices, it will crash trying to iterate
None as a list.

Change-Id: I3d535e01ac31db7804347c3938c0d88a28ba67f5
Closes-Bug: #1648887
(cherry picked from commit 15564eb355)
2016-12-12 15:07:18 +00: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 PCI: Fix PCI with fully qualified address 2016-11-04 12:37:56 +00:00
test_manager.py Fix crashing during guest config with pci_devices=None 2016-12-12 15:07:18 +00:00
test_request.py Fix pci_alias that include white spaces 2016-12-05 13:00:56 +00:00
test_stats.py Merge "Enable python34 tests for nova.tests.unit.pci.test_manager and test_stats" 2016-07-28 22:29:07 +00:00
test_utils.py Add missing slash to dir path 2016-09-24 15:06:16 +00:00
test_whitelist.py pci: Remove get_pci_devices_filter() method 2015-08-11 17:19:22 -04:00