Implement lab2 PostgreSQL sessions and Redis cache

This commit is contained in:
Polusikkkk
2026-10-16 18:23:50 +03:00
parent 65003b6119
commit 083dc49564
25 changed files with 2782 additions and 29 deletions
+11
View File
@@ -0,0 +1,11 @@
test_chat_creation_rollback (__main__.Lab2Checks.test_chat_creation_rollback) ... ok
test_concurrent_username_registration (__main__.Lab2Checks.test_concurrent_username_registration) ... ok
test_logout (__main__.Lab2Checks.test_logout) ... ok
test_unicode_password_with_colons (__main__.Lab2Checks.test_unicode_password_with_colons) ... ok
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.523s
OK