from fastapi.testclient import TestClient

from app import app

client = TestClient(app)


def test_hello_route_returns_html() -> None:
    response = client.get("/hello")

    assert response.status_code == 200
    assert "Hello World" in response.text
    assert response.headers["content-type"].startswith("text/html")
