forked from mtusi2026/mtusi2026lab3
lab3: nginx, replicas, idempotency, tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
python3 -m pytest tests/test_resilience.py -v
|
||||
============================= test session starts ==============================
|
||||
platform darwin -- Python 3.13.2, pytest-8.3.4, pluggy-1.6.0 -- /Users/kirill/Downloads/drone_simulation_project/.venv/bin/python3
|
||||
cachedir: .pytest_cache
|
||||
rootdir: /Users/kirill/Desktop/esp/temka/mtusi2026lab3
|
||||
plugins: platformdirs-4.12.2, anyio-3.6.2
|
||||
collecting ... collected 2 items
|
||||
|
||||
tests/test_resilience.py::test_postgres_down_returns_503 PASSED [ 50%]
|
||||
tests/test_resilience.py::test_redis_down_returns_500_json PASSED [100%]
|
||||
|
||||
============================== 2 passed in 6.84s ===============================
|
||||
Reference in New Issue
Block a user