1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/webvirtcloud
catborise bdc8a6755c test: each test is in the tests package of the code it tests
Tests that build vrtManager objects and touch no view, form or model of
an app lived in that app; vrtManager/tests already holds such tests, so
the convention was split. They move to vrtManager/tests: the firmware,
CPU mode and PCIe port definitions of a new VM (test_create), USB and PCI
host devices, the console listener, host CPU reads, interface reads,
deletes and XML, network filters, PCI passthrough rules, node devices,
network changes, addresses and leases, pool XML, secrets, and the live
tests that use vrtManager only (disk resize, ISO, snapshots, XML, live
clone). livetest.py, the live-test helper six apps import, and the
network test driver move with them.

Others go to their app: the quota with a host down to instances, the
401/403 Logs rows (webvirtcloud's middleware) to webvirtcloud, the VM
page's tab script test to instances, novncd's own tests out of the
console views tests, the compute lock and input validation tests out of
the computes views tests, the interface views out of the forms tests.
instances/tests/test_views.py, entirely live, is test_live_views.py.

Test modules imported fixtures from each other; shared ones are now in
vrtManager/tests/fakes.py (migration fakes, node devices, IOMMU groups,
leases, a NAT network, a Ceph secret), interfaces/tests/fakes.py,
console/tests/daemons.py (novncd loaded once), livetest.wait_for and
instances/tests/create_page.BODY. Every live test checks
livetest.enabled(). The suite runs the same 2097 tests.
2026-11-06 13:48:04 +03:00
..
tests test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
bootstrap_icons.py chore(deps): the icons come from the committed cache, not django-bootstrap-icons 2026-11-05 12:37:51 +03:00
common_tags.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
gunicorn_worker.py fix(webvirtcloud): a worker past its request timeout exits even if its log blocks 2026-11-03 07:11:03 +03:00
log_context.py fix(logs): a 404 is not written to the app log 2026-11-05 18:58:13 +03:00
middleware.py feat(logs): a refused page or API call leaves a Logs row 2026-11-05 14:47:37 +03:00
serializers.py fix(api): a VM action answers with what the page would have shown after it 2026-11-05 16:28:29 +03:00
settings-dev.py chore(settings): settings-dev without obsolete keys 2026-11-06 11:01:51 +03:00
settings.py.template refactor(settings): SQLite's WAL mode is an init_command 2026-11-06 11:01:51 +03:00
test_runner.py test: no seeded admin password, settings changed only for a test, no local libvirt by default 2026-11-06 13:48:03 +03:00
urls-api.py feat(operations): jobs API 2026-10-14 23:27:57 +03:00
urls.py refactor: settings are read through django.conf 2026-11-06 11:01:51 +03:00
wsgi.py fix: stop ignoring SIGCHLD process-wide 2026-10-04 13:40:53 +03:00