forked from mtusi2026/mtusi2026lab2
ЛР 2 — БПИ2303 — Щербаков — на 3
This commit is contained in:
@@ -0,0 +1 @@
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,30 @@
|
||||
UTC 2026-10-29T15:23:08.830114+00:00
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
test_access_before_payload_validation (test_api.API.test_access_before_payload_validation) ... ok
|
||||
test_bad_credentials_and_schemes (test_api.API.test_bad_credentials_and_schemes) ... ok
|
||||
test_chat_atomic_invalid_members (test_api.API.test_chat_atomic_invalid_members) ... ok
|
||||
test_concurrent_messages_and_keyset (test_api.API.test_concurrent_messages_and_keyset) ... ok
|
||||
test_cursor_scope_and_tampering (test_api.API.test_cursor_scope_and_tampering) ... ok
|
||||
test_json_and_sender_validation (test_api.API.test_json_and_sender_validation) ... ok
|
||||
test_logout_only_revokes_current_session (test_api.API.test_logout_only_revokes_current_session) ... ok
|
||||
test_registration_validation (test_api.API.test_registration_validation) ... ok
|
||||
test_unicode_password_with_colon_and_max_length (test_api.API.test_unicode_password_with_colon_and_max_length) ... ok
|
||||
test_username_race (test_api.API.test_username_race) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 10 tests in 11.305s
|
||||
|
||||
OK
|
||||
PASS: no orphan chats after invalid compound operations
|
||||
PASS: migrations applied
|
||||
PASS: migrations applied
|
||||
PASS: migrations repeated twice; all table counts unchanged: 77|26|50|93|73|1|1
|
||||
PASS: password KDF and token digests stored, no plaintext fields
|
||||
BEFORE_RESTART {"api": {"id": "b179e372934a", "started_at": "2026-10-29T15:20:00.638038777Z", "health": "healthy", "volumes": [], "memory_limit": 268435456, "nano_cpus": 1000000000}, "postgres": {"id": "f6c5ff81b339", "started_at": "2026-10-29T15:17:32.859839875Z", "health": "healthy", "volumes": ["mtusi2026lab2_postgres_data"], "memory_limit": 268435456, "nano_cpus": 1000000000}}
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
AFTER_RESTART {"api": {"id": "b179e372934a", "started_at": "2026-10-29T15:23:33.018502138Z", "health": "starting", "volumes": [], "memory_limit": 268435456, "nano_cpus": 1000000000}, "postgres": {"id": "f6c5ff81b339", "started_at": "2026-10-29T15:23:32.703945586Z", "health": "healthy", "volumes": ["mtusi2026lab2_postgres_data"], "memory_limit": 268435456, "nano_cpus": 1000000000}}
|
||||
PASS: both containers restarted; named volume, session, users and signed cursor preserved
|
||||
PASS: SESSION_TTL_SECONDS=2; valid then expired token rejected
|
||||
PASS: grade-3 verification complete
|
||||
Reference in New Issue
Block a user