1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/instances/tests
catborise 1e66367bb4 feat(operations): a job's error and warning show in the reader's language
A job stored its error and its result's warning as English text, much
of it built with the values in it (volume paths, a disk, libvirt's
error), so no catalog could translate it, and the job pages and panel
showed English whatever the language.

A job now stores them as messages: our English text, marked for
translation, and its values; libvirt's own text is a message without
values and is shown as it is. The jobs API and pages put them in the
reader's language. OperationError keeps its text and values apart for
the same reason, so a refusal raised while a job is submitted is shown
translated too. Messages one after another still read as sentences.

Errors stored before are kept as one message each, shown as they were.
2026-11-02 23:49:45 +03:00
..
js feat(interfaces): the interface pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:09:52 +03:00
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
create_page.py fix(instances): a new VM's CPU is a mode or a model the host offers, checked by libvirt 2026-10-29 11:17:38 +03:00
livetest.py docs: a running VM can be cloned 2026-10-16 16:52:38 +03:00
test_access_tab.py feat(instances): a VM's access in one strip, its console password kept to its rule 2026-10-30 20:39:40 +03:00
test_addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
test_api_parity.py fix(api): VM API answers as the VM pages do 2026-10-26 17:47:18 +03:00
test_audit_rows.py feat(instances): a VM's owners with their rights, and XML edits kept until saved 2026-10-30 17:02:38 +03:00
test_change_network.py fix(instances): a network device keeps its source unless another is chosen 2026-10-31 18:10:05 +03:00
test_change_xml.py fix(instances): the XML dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +03:00
test_clone_disks.py feat(instances): VM clone runs as a job 2026-10-15 09:28:43 +03:00
test_clone_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_clone_permission.py fix(instances): the quota counts queued clones and pending values 2026-10-31 00:51:31 +03:00
test_cloud_init_create.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_console_listener.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
test_console_rule.py feat(instances): a VM's access in one strip, its console password kept to its rule 2026-10-30 20:39:40 +03:00
test_console_settings_access.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
test_cpu_mode.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_dialog_cpu.py refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
test_create_form_input.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_instance.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_job.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_page_js.py refactor(instances): the VM create pages' scripts load from static files 2026-11-02 09:26:39 +03:00
test_create_rollback.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_wizard_url.py refactor(instances): the VM create pages' scripts load from static files 2026-11-02 09:26:39 +03:00
test_destroy.py feat(instances): a shut-off VM with a TPM migrates with its TPM state 2026-11-01 18:29:53 +03:00
test_detail_reads.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_detail_unreachable.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
test_disk_isolation.py fix(instances): Refresh ISO list says which pools it could not read 2026-11-02 16:11:15 +03:00
test_disk_move_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_drbd_target.py fix(instances): a VM's DRBD status counts only its own resources 2026-10-26 13:49:37 +03:00
test_error_handling.py feat(instances): a VM's owners with their rights, and XML edits kept until saved 2026-10-30 17:02:38 +03:00
test_find_address.py feat(instances): the address search finds a VM by its MAC address too 2026-10-24 22:45:47 +03:00
test_find_address_js.py fix(instances): the address search shows host names as they are 2026-10-25 21:33:41 +03:00
test_firmware_tpm.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_gstfsd.py fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
test_host_devices.py feat(instances): PCI devices hot-plugged into a running VM 2026-10-29 14:54:36 +03:00
test_index.py feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
test_index_host_alerts.py fix(instances): VM list columns, hosts for viewers, flavor units 2026-10-26 16:14:37 +03:00
test_list_rpc.py fix(instances): the VM list searches its VMs, collapses its hosts together and says when it is empty 2026-10-27 22:40:49 +03:00
test_list_unreachable.py feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
test_live_clone.py docs: a running VM can be cloned 2026-10-16 16:52:38 +03:00
test_live_create.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_live_dataloss.py feat(instances): a CD-ROM is added on the bus chosen, with its ISO 2026-11-01 16:27:39 +03:00
test_live_disk_resize.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_guest.py feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
test_live_iscsi.py test: a LUN of an iSCSI pool attaches live as a block disk 2026-10-18 21:32:52 +03:00
test_live_iso.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_jobs.py feat(instances): a shut-off VM with a TPM migrates with its TPM state 2026-11-01 18:29:53 +03:00
test_live_lvm.py test(instances): the live LVM test confirms erasing the device it pools 2026-10-31 23:23:26 +03:00
test_live_snapshots.py feat(instances): external snapshot delete runs as a job 2026-10-14 23:27:57 +03:00
test_live_xml.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_xml_effects.py feat(instances): a VM's TPM 2.0 is switched on and off on its Options tab 2026-11-01 17:10:26 +03:00
test_migrate_form.py feat(instances): a VM's migration in a route, a disk plan and its transfer settings 2026-10-30 14:55:57 +03:00
test_migrate_job.py fix(instances): the Migrate tab keeps disks of one file name apart 2026-11-02 16:29:00 +03:00
test_migration_bookkeeping.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_migration_log.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_missing_fields.py feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
test_moved_while_waiting.py feat(instances): VM clone runs as a job 2026-10-15 09:28:43 +03:00
test_new_disk_name.py feat(instances): a CD-ROM is added on the bus chosen, with its ISO 2026-11-01 16:27:39 +03:00
test_owner_race.py fix(instances): two owners added at once keep a VM to one owner 2026-10-31 00:21:06 +03:00
test_page_controls.py refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
test_paused_block.py fix(instances): an owner cannot power a VM an administrator paused 2026-10-26 13:49:37 +03:00
test_pci_slots.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_pending_edits.py refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
test_quota.py fix(instances): the quota counts queued clones and pending values 2026-10-31 00:51:31 +03:00
test_quota_lock.py fix(instances): the Resize tab changes only what was asked 2026-10-26 13:49:37 +03:00
test_resize_input.py feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
test_root_pass.py fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
test_security_mutations.py feat(instances): migration runs as a job 2026-10-16 07:57:02 +03:00
test_snapshot_delete_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_snapshot_jobs.py feat(instances): USB devices of the host given to a VM 2026-10-29 13:33:23 +03:00
test_snapshot_views.py feat(instances): external snapshots first, internal ones a fallback 2026-10-30 21:40:00 +03:00
test_states.py feat(templates): every confirmation asks in the page's own dialog 2026-10-31 20:44:39 +03:00
test_stats_sample.py refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
test_stats_tab.py feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00
test_table_filter_js.py fix(templates): the list pages search their rows as text, with one script 2026-10-25 23:08:42 +03:00
test_template_flag.py feat(instances): a VM's options in one list, each saved when it can be 2026-10-30 16:03:43 +03:00
test_template_quota.py feat(instances): a VM's options in one list, each saved when it can be 2026-10-30 16:03:43 +03:00
test_template_rules.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_update_console.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
test_views.py fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +03:00
test_vm_audit_rows.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
test_vm_report.py feat(instances): a report of every VM with its addresses and OS, as an Excel file 2026-10-24 22:30:07 +03:00
test_vm_states.py feat(instances): the VM lists follow changes by themselves 2026-11-01 19:53:45 +03:00
test_xss.py refactor(instances): the VM create pages' scripts load from static files 2026-11-02 09:26:39 +03:00