test: пробный доступ — не больше двух файлов за раз (красные)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
anor
2026-10-01 20:12:03 +10:00
co-authored by Claude Opus 5.5
parent fc64b9fd28
commit 059b40fdb2
2 changed files with 133 additions and 1 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ def test_limits_report_trial(env):
_first_dialog(db, NEW)
_asked(db, NEW, 2)
d = client.get("/api/limits", headers=_h(auth, NEW, "t-first")).json()
assert d["trial"] == {"used": 2, "limit": 5, "tab": "t-first"}
assert d["trial"] == {"used": 2, "limit": 5, "files_at_once": 2, "tab": "t-first"}
d = client.get("/api/limits", headers=_h(auth, OLD, "x")).json()
assert "trial" not in d