1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/accounts/tests
catborise 9f323d709e test: no test connects to a real host
Tests of eight files patched a host's status but not what the page also read, its
connection, connection_error or proxy, and so connected for real: over
ssh to 10.0.0.9 or over TCP to unroutable addresses (5 to 10 s each until
the connect timeout), and to the machine's own libvirt (qemu:///system).
A failed host is not tried again for a while, so only the first such test
of a process connected, and which one depended on the order. They now
patch the connection itself, or what the page reads, and use RFC 5737
addresses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-08 22:22:16 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_account_page.py feat(templates): the shared form and delete pages in a centred column 2026-10-31 18:10:05 +03:00
test_admin_email_otp.py fix(accounts): mailing an OTP QR code waits at most 10 seconds for the SMTP server 2026-11-05 11:04:08 +03:00
test_admin_password.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
test_api_tokens.py fix(accounts): an API token form sent twice makes one token 2026-11-05 18:58:13 +03:00
test_audit_rows.py fix(logs): a lost-OTP mail and a wrong old password leave a row 2026-11-07 14:36:44 +03:00
test_change_password_permission.py fix(settings): new passwords pass Django's password validators 2026-11-06 11:01:43 +03:00
test_checks.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_email_otp.py fix(logs): a lost-OTP mail and a wrong old password leave a row 2026-11-07 14:36:44 +03:00
test_first_login_password.py fix(api): an error's status says what it is, and its body is always {"detail"} 2026-11-07 13:29:46 +03:00
test_ldap_timeouts.py fix(accounts): an LDAP login waits a bounded time for the directory 2026-11-05 11:04:08 +03:00
test_login_lockout.py chore(accounts): django-axes keeps no record of successful logins 2026-11-05 10:36:34 +03:00
test_otp_login.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
test_ssh_keys.py test(accounts): validate_ssh_key is tested in one place 2026-11-08 21:20:06 +03:00
test_unique_email.py fix(accounts): an email address belongs to one user, so "Lost OTP?" reaches it 2026-10-26 11:19:42 +03:00
test_utils.py fix(accounts): the admin's Email OTP sent twice at once makes one device 2026-11-05 18:58:13 +03:00
test_views.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00