nova/nova/tests/unit/virt/powervm
Stephen Finucane 86d87be8db Move optional build dependencies to 'extras'
...and start skipping the relevant tests in 'nova.tests.unit.virt' if
these dependencies are not present. Thanks to hacking rules N311 and
N312, which prevent virt drivers using code from other virt drivers,
simply skipping the unit tests for a virt driver module is enough to
ensure we never load those modules.

This means users that want to use the powervm driver can install the
required dependencies using e.g. 'pip install .[powervm]', and packagers
can choose to skip packaging a dependency safe in the knowledge that the
relevant tests will be skipped.

Change-Id: I3787f9afd78cd0a7c7feb4dfe1bcb21437b5a128
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-01-28 12:27:06 +00:00
..
disk Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
tasks PowerVM Driver: vSCSI Fibre Channel volume adapter 2018-05-22 11:39:32 -05:00
volume PowerVM Driver: vSCSI Fibre Channel volume adapter 2018-05-22 11:39:32 -05:00
__init__.py Move optional build dependencies to 'extras' 2022-01-28 12:27:06 +00:00
test_driver.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_host.py hypervisor_hostname must match get_available_nodes 2017-06-20 16:34:38 -05:00
test_image.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_media.py Remove future imports 2020-03-24 15:05:36 +00:00
test_mgmt.py PowerVM Driver: Snapshot 2018-04-25 14:35:12 -05:00
test_vif.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
test_vm.py Remove future imports 2020-03-24 15:05:36 +00:00