virt-manager/tests
Cole Robinson 058d8b4ccd storage: Add testsuite way to trigger StoragePool.install error
With the libvirt testdriver, we can create+start a directory
pool that points to any arbitrary host path. But this doesn't
match the behavior of the real storage driver, where pool start
will fail if the source directory doesn't exist.

Let's mock this by raising an exception if we are inside the
test suite and we see a special string in the pool XML

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-11-19 21:19:25 +01:00
..
data cloner: Handle .qcow2 nvram extension 2024-11-19 21:19:25 +01:00
uitests tests: uitests: cover cli changes 2024-11-12 23:12:36 +01:00
__init__.py Replace deprecated imp usage with importlib 2021-10-04 16:04:44 -04:00
conftest.py tests: Default --uitests to --verbosity=2 2023-05-06 16:50:20 -04:00
magicuri.py virtinst: uri: Rework MagicURI to work with passed in fakeuri 2020-02-03 07:05:11 -05:00
meson.build meson: add tests 2024-11-12 23:18:32 +01:00
test_capabilities.py tests: Add testDomainCapabilitiesLoongArch64() 2024-09-10 12:56:38 -04:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py virt-clone: only attempt --reflink for raw images 2024-11-19 21:19:25 +01:00
test_cloner.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_conn.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_disk.py storage: Add testsuite way to trigger StoragePool.install error 2024-11-19 21:19:25 +01:00
test_dist.py update setup.py usage and docs to meson 2024-11-12 23:18:32 +01:00
test_inject.py tests: test_inject: Drop --debug usage 2022-08-04 15:06:17 -04:00
test_misc.py virtinstall: Hide total_size in the progress bar if it doesn't need 2022-12-14 13:18:36 -05:00
test_nodedev.py Fix some pylint 2024-08-26 11:36:01 -04:00
test_osdict.py virtinst/osdict: remove osinfo legacy aliases 2022-01-17 14:51:36 -05:00
test_storage.py tests: testdriver: Have all pools use pool- prefix 2022-02-27 13:44:13 -05:00
test_uriparse.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
test_xmlparse.py misc: codespell fixes 2024-10-13 15:26:08 +02:00
testdriver.xml tests: Move all testdriver XML to the same dir 2020-08-26 15:20:05 -04:00
urlfetcher_mock.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
utils.py Add test cases for loongarch 2024-06-18 12:09:14 +02:00