forked from mtusi2026/mtusi2026lab2
ЛР 2: завершить трек 2 на оценку 5
This commit is contained in:
@@ -20,6 +20,7 @@ import unittest
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
sys.path.insert(0, str(ROOT / "tests"))
|
||||
sys.path.insert(0, str(ROOT / "student-tests"))
|
||||
from client import Client, Failure, check # noqa: E402
|
||||
import business # noqa: E402
|
||||
|
||||
@@ -333,9 +334,9 @@ class Harness:
|
||||
|
||||
SUITES = {
|
||||
"auth": "Existing normal auth cases",
|
||||
"business-boundaries": "Title/text/member validation and malformed JSON",
|
||||
"business-cursors": "Cursor binding, changing limit, empty/complete pages and ACL",
|
||||
"read-after-write": "Concurrent confirmations are visible immediately",
|
||||
"business-boundaries": "Title/text/member validation and strict lab2 JSON/UTF-8 cases",
|
||||
"business-cursors": "Both chat-list and message-history pagination, bound cursors, changing limit and ACL",
|
||||
"read-after-write": "100 concurrent confirmations from 10 members are visible immediately",
|
||||
"persistence": "Full restart with original/revoked sessions",
|
||||
"expiry": "Separate API with actual TTL=2",
|
||||
"postgres-failure": "Real PostgreSQL outage and recovery",
|
||||
|
||||
Reference in New Issue
Block a user