1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 09:26:03 +00:00
webvirtcloud/storages/tests
catborise 044945bd97 fix(storages): a pool is not made of a system directory or of another pool's
The new pool dialog took /, /etc, /var/lib/dpkg or /home as a directory
pool's path, or as a share's mount point, and a path inside or around
another pool's. A pool on /etc offers the host's own files as volumes,
which one Delete removes; a share mounted there hides them; and a file
under two pools is listed, and deleted, through both. These paths are
now refused: the system directories (/var only within /var/lib/libvirt,
outside libvirt's own state), /home, /mnt, /media, /opt and /srv
themselves (a directory in them is fine), and a path is compared once
"..", doubled and trailing slashes are resolved. A symbolic link on the
host is not resolved.
2026-11-13 10:41:03 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_live_pools.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_new_pool.py fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed 2026-10-29 10:10:43 +03:00
test_pool_in_use.py fix: a network, pool or secret a VM needs is not stopped or deleted 2026-10-22 08:34:55 +03:00
test_pool_page.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_pool_target.py fix(storages): a pool is not made of a system directory or of another pool's 2026-11-13 10:41:03 +03:00
test_sftp_pipelined.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_ssh_pool.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_upload_job.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_views.py fix(api): an error's status says what it is, and its body is always {"detail"} 2026-11-07 13:29:46 +03:00
test_volume_clone_job.py fix(storages): a volume a running VM uses is not cloned 2026-11-07 23:56:04 +03:00