878d807
1
2
3
4
5
6
7
8
9
10
from main import app from fastapi.testclient import TestClient client = TestClient(app) def test_read_main(): response = client.get("/") assert response.status_code == 200