forked from mtusi2026/mtusi2026lab4
Подтвердить чистый запуск лабораторной с новыми PG и S3
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:28084"
|
||||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||||
uv run --locked pytest --disable-warnings
|
||||
============================= test session starts ==============================
|
||||
platform darwin -- Python 3.14.7, pytest-9.1.1, pluggy-1.7.0
|
||||
rootdir: <repository>
|
||||
configfile: pyproject.toml
|
||||
testpaths: student-tests
|
||||
plugins: anyio-4.15.1
|
||||
collected 65 items
|
||||
|
||||
student-tests/test_api.py .................................... [ 55%]
|
||||
student-tests/test_attachments.py ................. [ 81%]
|
||||
student-tests/test_cluster.py ............ [100%]
|
||||
|
||||
======================= 65 passed, 2 warnings in 21.77s ========================
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:28084"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
Reference in New Issue
Block a user