Исправить U+0000 и гонку готовности PostgreSQL; добавить проверки
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
../.venv/bin/python scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
../.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
../.venv/bin/python tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
BASE_URL="http://localhost:8080" ../.venv/bin/python -m unittest discover -s student-tests -p test_api.py -v
|
||||
test_concurrent_messages_and_pagination (test_api.APIContract.test_concurrent_messages_and_pagination) ... ok
|
||||
test_cursor_scope_and_validation (test_api.APIContract.test_cursor_scope_and_validation) ... ok
|
||||
test_foreign_chat (test_api.APIContract.test_foreign_chat) ... ok
|
||||
test_invalid_chat_creation (test_api.APIContract.test_invalid_chat_creation) ... ok
|
||||
test_malformed_json_and_extra_fields (test_api.APIContract.test_malformed_json_and_extra_fields) ... ok
|
||||
test_registration_race (test_api.APIContract.test_registration_race) ... ok
|
||||
test_unicode_limits (test_api.APIContract.test_unicode_limits) ... ok
|
||||
test_unicode_nul_round_trip (test_api.APIContract.test_unicode_nul_round_trip) ... ok
|
||||
test_unicode_password_basic_and_logout (test_api.APIContract.test_unicode_password_basic_and_logout) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 9 tests in 2.631s
|
||||
|
||||
OK
|
||||
Reference in New Issue
Block a user