1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/instances/tests
catborise c55f52f025 test: each app keeps its tests in a tests package
131 test modules sat next to the code they test; instances alone had
51 of them beside views.py and utils.py. They move into a
tests/ package per app, and the JavaScript checks into
webvirtcloud/tests/js. Each non-empty tests.py becomes tests/test_views.py;
the empty generated stubs are removed.

Imports of the app's own modules become absolute, paths built from
__file__ go one level up, the live helper is instances.tests.livetest,
and coverage omits */tests/*. The suite discovers the same 960 tests as
before.
2026-10-12 15:17:30 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
livetest.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_change_network.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_change_xml.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_clone_disks.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_clone_permission.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_console_listener.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_console_rule.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_console_settings_access.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_create_dialog_cpu.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_create_instance.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_create_rollback.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_create_wizard_url.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_destroy.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +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 test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_disk_isolation.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_drbd_target.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_error_handling.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_gstfsd.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_index.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_index_host_alerts.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_list_rpc.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_list_unreachable.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_clone.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_create.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_dataloss.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +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 test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +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_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 test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migrate_form.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migration_bookkeeping.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migration_log.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_missing_fields.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_moved_while_waiting.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_new_disk_name.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_page_controls.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_pending_edits.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_quota.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_quota_lock.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_root_pass.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_security_mutations.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_states.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_stats_sample.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_template_flag.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_template_quota.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +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 test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_views.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_xss.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00