1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 01:16:10 +00:00
webvirtcloud/instances/tests
catborise 88e7e0fa90 fix(instances): a console settings page opened before another change does not undo it
The console form compared what was posted with the settings saved at the
time of the save, so every field of a page opened earlier counted as a
change: an administrator who moved a console to localhost had it opened
to all interfaces again when another one, on an older page, only
generated a new password. The form now sends back a fingerprint of the
type, listen address and keymap it showed, and a save made after these
changed is refused with a message to check them and save again.

A refused save names the reasons without the field names.
2026-11-13 22:49:23 +03:00
..
js fix(instances): the VM list keeps its state filter and finds names in any case 2026-11-13 16:07:01 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +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 fix(instances): one guest's bad address no longer ends a search or the VM report 2026-11-13 16:07:12 +03:00
test_api_list_refresh.py fix(instances): the REST API's list of all VMs reads the hosts first 2026-11-13 16:07:01 +03:00
test_api_parity.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_audit_rows.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
test_bad_options.py fix(instances): a power on or delete option the form never sends is refused in words 2026-11-12 16:40:58 +03:00
test_change_network.py fix(nwfilters): two changes at once do not undo each other 2026-11-13 11:46:01 +03:00
test_change_xml.py fix(instances): the XML editor and a VM defined from XML check its host devices 2026-11-11 22:58:34 +03:00
test_claim_after_permission.py fix(instances): a request refused by the permission check takes no claim 2026-11-05 18:08:03 +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 fix(instances): a clone's recovery tells how to thaw a guest paused meanwhile 2026-11-13 08:44:05 +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 fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_console_access.py fix(instances): a VNC password the browser console can send, kept as set 2026-11-13 22:49:12 +03:00
test_console_settings.py fix(instances): a console settings page opened before another change does not undo it 2026-11-13 22:49:23 +03:00
test_cpu_mode.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_create_dialog_cpu.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_create_form_input.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_create_instance.py fix(instances): the Secure Boot machine type warning is in the user's language 2026-11-11 10:30:54 +03:00
test_create_job.py fix(instances): a new VM's disk cache goes with the disk I/O of Settings 2026-11-13 13:58:46 +03:00
test_create_page_js.py fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
test_create_rollback.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_create_wizard_url.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
test_destroy.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_detail_reads.py fix(instances): the VM page's DRBD state does not rewrite the VM's record 2026-11-10 13:19:39 +03:00
test_detail_unreachable.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_disk_isolation.py fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00
test_disk_move_job.py fix(instances): a disk move or migration leaves one check on a stuck host 2026-11-10 13:48:14 +03:00
test_drbd_target.py fix(appsettings): a number an older version saved no longer breaks its page 2026-11-13 13:58:57 +03:00
test_duplicate_devices.py fix(instances): an ISO already in a CD-ROM of the VM is not added again 2026-11-05 18:58:13 +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_gstfsd.py fix(gstfsd): at most 4 connections at a time; one more is told it is busy 2026-11-05 18:58:13 +03:00
test_host_busy.py fix(instances): a busy host is reported as busy, not as unreachable 2026-11-05 16:16:28 +03:00
test_host_devices.py fix(instances): the Host devices tab says when the host cannot give a VM's USB device 2026-11-11 22:58:34 +03:00
test_index.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_index_host_alerts.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_instance_tabs_js.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_list_hung_host.py fix(instances): a host that does not answer no longer holds the VM lists 2026-11-13 16:07:01 +03:00
test_list_rpc.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_list_unreachable.py fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
test_live_clone.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_create.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_dataloss.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_guest.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_iscsi.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_jobs.py test(instances): the live create-from-template job names the template's pool 2026-11-10 16:39:42 +03:00
test_live_lvm.py fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
test_live_views.py fix(instances): a console settings page opened before another change does not undo it 2026-11-13 22:49:23 +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): a late cancel leaves a later job's migration or disk move alone 2026-11-09 16:34:20 +03:00
test_migration_bookkeeping.py refactor(instances): a migration merges owners with move_ownership 2026-11-08 12:20:17 +03:00
test_migration_log.py fix(migrate): a copied disk's source file is deleted only when no compute may use it 2026-11-07 22:51:25 +03:00
test_missing_fields.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +03:00
test_moved_while_waiting.py feat(jobs): deleting a VM is a job that recovery finishes 2026-11-06 09:49:31 +03:00
test_new_disk_name.py refactor(instances): a new disk's name prefix comes from vol_dev_type 2026-11-08 12:24:18 +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 fix(instances): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_pending_edits.py fix(instances): a disk form loaded before the disk changed changes nothing 2026-11-11 12:55:34 +03:00
test_permissions.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_quota.py test(quota): the concurrent resize test checks what happened to each request 2026-11-08 21:20:06 +03:00
test_resize_input.py fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
test_root_pass.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +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 test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_snapshot_views.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_states.py fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
test_stats_sample.py fix(computes): a chart places each reading at the time it came 2026-11-13 16:38:42 +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_templates.py fix(instances): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +03:00
test_vm_addresses.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
test_vm_audit_rows.py fix(instances): a console settings page opened before another change does not undo it 2026-11-13 22:49:23 +03:00
test_vm_page_records.py fix(instances): the page of a VM removed outside the panel sends the user to the list 2026-11-05 18:08:03 +03:00
test_vm_report.py fix(instances): one guest's bad address no longer ends a search or the VM report 2026-11-13 16:07:12 +03:00
test_vm_states.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_xss.py test: classes that use no database are SimpleTestCase 2026-11-06 13:48:03 +03:00