ЛР 2: PostgreSQL, Bearer-сессии, Valkey и исследование восстановления

This commit is contained in:
Алихан Абдурашидов
2026-10-30 14:09:36 +03:00
parent 65003b6119
commit cddd65fe4e
40 changed files with 7890 additions and 35 deletions
+17
View File
@@ -0,0 +1,17 @@
python3 -m unittest discover -s student-tests -p 'test_*.py' -v
test_100_messages_10_clients (test_api.APItests.test_100_messages_10_clients) ... ok
test_authentication_before_access_and_foreign_chat (test_api.APItests.test_authentication_before_access_and_foreign_chat) ... ok
test_bad_password_unknown_username_and_basic_only_for_login (test_api.APItests.test_bad_password_unknown_username_and_basic_only_for_login) ... ok
test_chat_rollback_and_membership_validation (test_api.APItests.test_chat_rollback_and_membership_validation) ... ok
test_empty_message_unicode_and_sender (test_api.APItests.test_empty_message_unicode_and_sender) ... ok
test_logout_revokes_only_current_session (test_api.APItests.test_logout_revokes_only_current_session) ... ok
test_malformed_json_and_types (test_api.APItests.test_malformed_json_and_types) ... ok
test_multiple_pages_bad_limits_and_cross_resource_cursor (test_api.APItests.test_multiple_pages_bad_limits_and_cross_resource_cursor) ... ok
test_racing_registration (test_api.APItests.test_racing_registration) ... ok
test_read_after_write_during_pagination (test_api.APItests.test_read_after_write_during_pagination) ... ok
test_unicode_password_128_codepoints_and_colon (test_api.APItests.test_unicode_password_128_codepoints_and_colon) ... ok
----------------------------------------------------------------------
Ran 11 tests in 6.839s
OK