update userpage catalog
This commit is contained in:
@@ -38,7 +38,10 @@ client = TestClient(app)
|
||||
def test_root() -> None:
|
||||
resp = client.get("/")
|
||||
assert resp.status_code == 200
|
||||
assert "service" in resp.json()
|
||||
if "text/html" in resp.headers.get("content-type", ""):
|
||||
assert "<html" in resp.text.lower()
|
||||
else:
|
||||
assert "service" in resp.json()
|
||||
|
||||
|
||||
def test_health_degrades_gracefully_without_dependencies() -> None:
|
||||
|
||||
Reference in New Issue
Block a user