Refactor API into routers and shared modules
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Polusikkkk
2026-10-16 18:45:36 +03:00
parent 083dc49564
commit 1bba3bcab0
15 changed files with 1001 additions and 682 deletions
+4 -4
View File
@@ -9,16 +9,16 @@ test_wrong_password (__main__.Lab2Checks.test_wrong_password) ... ok
test_x_user_id_does_not_authenticate_or_change_user (__main__.Lab2Checks.test_x_user_id_does_not_authenticate_or_change_user) ... ok
----------------------------------------------------------------------
Ran 6 tests in 1.384s
Ran 6 tests in 1.376s
OK
make[1]: Leaving directory '/home/polina/projects/mtusi2026lab2'
make[1]: Entering directory '/home/polina/projects/mtusi2026lab2'
BASE_URL="http://localhost:18081" python3 tests/lab2_faults.py
PASS: Redis outage fallback; authenticated request took 0.140s
PASS: PostgreSQL outage fails closed; authenticated request took 3.006s
PASS: Redis outage fallback; authenticated request took 0.135s
PASS: PostgreSQL outage fails closed; authenticated request took 3.005s
PASS: existing session recovered after PostgreSQL restart
PASS: short session expired; observed after 2.067s
PASS: short session expired; observed after 2.075s
RESTORED: services running; SESSION_TTL_SECONDS=3600
PASS: dependency outages and short session expiry
make[1]: Leaving directory '/home/polina/projects/mtusi2026lab2'