- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_static_files_not_found (0.11 seconds)
-
tests/test_tutorial/test_static_files/test_tutorial001.py
def test_static_files(client: TestClient): response = client.get("/static/sample.txt") assert response.status_code == 200, response.text assert response.text == "This is a sample static file." def test_static_files_not_found(client: TestClient): response = client.get("/static/non_existent_file.txt") assert response.status_code == 404, response.text def test_openapi_schema(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.1K bytes - Click Count (0)