1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/logs
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
..
migrations add host name for logs beside others 2021-05-31 11:39:09 +03:00
tests test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
__init__.py Add logs and block for templates 2015-03-03 11:34:09 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
models.py add host name for logs beside others 2021-05-31 11:39:09 +03:00
urls.py lint with black python. convert f style strings to old one. some small fixes 2020-11-05 12:34:31 +03:00
views.py fix: serve JSON endpoints as application/json and build DOM safely 2026-10-02 18:29:11 +03:00