1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/storages/tests
catborise 0610c23a34 fix(api): an error's status says what it is, and its body is always {"detail"}
- libvirt errors all answered 400. A VM, pool or volume the host does not
  have now answers 404, a volume in use 409 (vrtManager.util.InUse) and a
  host that cannot be reached 503, which a client may retry.
- A template's power on or cycle and a stopped pool answered
  {"status": ...} with 409; they answer {"detail": ...}, as every other
  refusal. The schema documents these 409s (ErrorSerializer).
- The volume list and a volume of a stopped pool answered 200 with an
  empty list or a made-up volume; they answer 409.
- An API URL that names nothing answered the HTML error page; it answers
  a JSON 404 after the API's authentication.
- A session that must change its password was redirected to the HTML
  form; an API request of it gets the JSON 403 a token gets.
2026-11-07 13:29:46 +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 fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +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 fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +03:00
test_pool_target.py feat(storages): the storage pages on Bootstrap's tables, cards, badges and menus 2026-10-28 19:27:21 +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(jobs): VM create and volume clone check the user and the name again in the worker 2026-11-05 16:16:47 +03:00