$ python3 tests/smoke.py
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
$ python3 tests/resilience.py --mode persistence --action-script scripts/restart.sh   (Windows: restart.cmd; контейнеры до/после — persistence_containers.txt)
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
$ python -m unittest discover -s student-tests -p test_api.py
Ran 12 tests in 2.802s
OK
$ python student-tests/test_expiry.py (SESSION_TTL_SECONDS=2)
Ran 2 tests in 10.310s
OK
$ python student-tests/test_dependencies.py (остановка Valkey / PostgreSQL)
Ran 2 tests in 14.884s
OK
