Refactor code for improved readability and consistency

- Cleaned up whitespace and formatting across multiple files for better readability.
This commit is contained in:
JSC
2025-07-02 10:37:48 +02:00
parent e63c7a0767
commit 171dbb9b63
19 changed files with 361 additions and 260 deletions

View File

@@ -21,7 +21,10 @@ class TestMainRoutes:
"""Test the index route."""
response = client.get("/api/")
assert response.status_code == 200
assert response.get_json() == {"message": "API is running", "status": "ok"}
assert response.get_json() == {
"message": "API is running",
"status": "ok",
}
def test_health_route(self, client) -> None:
"""Test health check route."""
@@ -34,4 +37,4 @@ class TestMainRoutes:
response = client.get("/api/protected")
assert response.status_code == 401
data = response.get_json()
assert data["error"] == "Authentication required (JWT or API token)"
assert data["error"] == "Authentication required (JWT or API token)"