ЛР2: PostgreSQL, сессии и Valkey на оценку 4

This commit is contained in:
gera
2026-10-16 00:50:33 +03:00
parent 65003b6119
commit f612fbef77
32 changed files with 2339 additions and 21 deletions
+16
View File
@@ -0,0 +1,16 @@
BASE_URL="http://localhost:8080" python3 tests/test_own.py -v
test_bad_json (__main__.OwnTests.test_bad_json) ... ok
test_basic_on_business (__main__.OwnTests.test_basic_on_business) ... ok
test_cursor_other_chat (__main__.OwnTests.test_cursor_other_chat) ... ok
test_duplicate_username (__main__.OwnTests.test_duplicate_username) ... ok
test_empty_message (__main__.OwnTests.test_empty_message) ... ok
test_foreign_chat (__main__.OwnTests.test_foreign_chat) ... ok
test_logout (__main__.OwnTests.test_logout) ... ok
test_pagination_pages (__main__.OwnTests.test_pagination_pages) ... ok
test_wrong_password (__main__.OwnTests.test_wrong_password) ... ok
test_x_user_id_ignored (__main__.OwnTests.test_x_user_id_ignored) ... ok
----------------------------------------------------------------------
Ran 10 tests in 4.147s
OK