Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Python°](app/static/python.png)

> Production-ready, open-source FastAPI application with PostgreSQL and blazing-fast full-text search.
> Production ready, open-source FastAPI application with PostgreSQL and blazing-fast full-text search

#### Overview

Expand Down
3 changes: 1 addition & 2 deletions tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
client = TestClient(app)

def test_root_returns_welcome_message() -> None:
"""GET / should reply in the first person."""
"""GET / should return API metadata."""
response = client.get("/")
assert response.status_code == 200
json_data = response.json()
assert "meta" in json_data
assert "data" in json_data
assert "title" in json_data["meta"]

def test_health_returns_ok() -> None:
Expand Down
Loading