29 lines
2.0 KiB
Plaintext
29 lines
2.0 KiB
Plaintext
no_proxy=localhost,127.0.0.1 NO_PROXY=localhost,127.0.0.1 BASE_URL="http://localhost:8080" .venv/bin/python3 -m pytest tests_student/ -v
|
|
============================= test session starts ==============================
|
|
platform linux -- Python 3.12.15, pytest-9.1.1, pluggy-1.7.0 -- /home/ilyas/projects/labs_highload/mtusi2026lab2/.venv/bin/python3
|
|
cachedir: .pytest_cache
|
|
rootdir: /home/ilyas/projects/labs_highload/mtusi2026lab2
|
|
configfile: pytest.ini
|
|
plugins: anyio-4.15.1, asyncio-1.4.0
|
|
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
|
|
collecting ... collected 16 items
|
|
|
|
tests_student/tests.py::test_invalid_json_and_extra_fields PASSED [ 6%]
|
|
tests_student/tests.py::test_outsider_chat_access_is_404 PASSED [ 12%]
|
|
tests_student/tests.py::test_empty_and_whitespace_message PASSED [ 18%]
|
|
tests_student/tests.py::test_duplicate_username_conflict PASSED [ 25%]
|
|
tests_student/tests.py::test_wrong_password_and_bad_basic_auth PASSED [ 31%]
|
|
tests_student/tests.py::test_logout_and_revocation PASSED [ 37%]
|
|
tests_student/tests.py::test_multi_page_cursor_pagination PASSED [ 43%]
|
|
tests_student/tests.py::test_concurrency_race_condition PASSED [ 50%]
|
|
tests_student/tests.py::test_password_whitespace_rejected PASSED [ 56%]
|
|
tests_student/tests.py::test_auth_sessions_with_body_rejected PASSED [ 62%]
|
|
tests_student/tests.py::test_unsupported_media_type_415 PASSED [ 68%]
|
|
tests_student/tests.py::test_nul_byte_in_strings_handled PASSED [ 75%]
|
|
tests_student/tests.py::test_basic_auth_invalid_base64_returns_401 PASSED [ 81%]
|
|
tests_student/tests.py::test_cross_chat_cursor_rejected_400 PASSED [ 87%]
|
|
tests_student/tests.py::test_utf8_password_support PASSED [ 93%]
|
|
tests_student/tests.py::test_health_readiness_and_liveness PASSED [100%]
|
|
|
|
============================== 16 passed in 7.38s ==============================
|