1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/interfaces
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
..
api ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00
tests test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
forms.py fix(interfaces): an ethernet interface needs no bridge member, and unreadable host devices are reported 2026-10-08 08:50:21 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
views.py fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00