Final notes
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
# tests/test_health.py
|
||||
import pytest
|
||||
|
||||
|
||||
|
||||
class TestHealth:
|
||||
"""Тесты health endpoint"""
|
||||
|
||||
def test_health_ok(self, test_client):
|
||||
"""GET /health возвращает статус"""
|
||||
_, response = test_client.get("/health")
|
||||
|
||||
assert response.status == 200
|
||||
|
||||
Reference in New Issue
Block a user