1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/computes/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
test_api_security.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_compute_password.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_cpu_graph.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migration_address.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_operation_locks.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_overview_status.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_ownership.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_quota_down_host.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_reconciliation.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_validators.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