1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/accounts
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 fix(accounts): migrate no longer overrides the change-password permission 2026-10-04 20:26:53 +03:00
templates build(deps): the OTP e-mail draws its QR code with segno 2026-10-12 07:24:56 +03:00
templatetags lint with black python. convert f style strings to old one. some small fixes 2020-11-05 12:34:31 +03:00
tests test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
__init__.py Fixe migrations for new deployments 2020-05-28 18:19:25 +06:00
apps.py fix(accounts): migrate no longer overrides the change-password permission 2026-10-04 20:26:53 +03:00
checks.py fix(accounts): migrate no longer overrides the change-password permission 2026-10-04 20:26:53 +03:00
forms.py format python code with black 2022-11-02 08:54:35 +03:00
lockout.py feat(accounts): failed logins lock a user for the address they come from 2026-10-06 11:05:03 +03:00
middleware.py fix(accounts): first-login password change is stored, not in the session 2026-10-04 01:08:11 +03:00
models.py fix(accounts): first-login password change is stored, not in the session 2026-10-04 01:08:11 +03:00
otp.py fix(accounts): OTP login works per user and "Lost OTP?" cannot impose 2FA 2026-10-07 08:48:55 +03:00
urls.py fix(accounts): OTP login works per user and "Lost OTP?" cannot impose 2FA 2026-10-07 08:48:55 +03:00
utils.py build(deps): the OTP e-mail draws its QR code with segno 2026-10-12 07:24:56 +03:00
views.py fix(accounts): OTP login works per user and "Lost OTP?" cannot impose 2FA 2026-10-07 08:48:55 +03:00