Fix test split introduced by previous commit's insertion point
Claude-Session: https://claude.ai/code/session_01RdARHDJaYC1wSQRTYM6t3Z
This commit is contained in:
parent
3a2f507353
commit
8d15c314b0
1 changed files with 2 additions and 2 deletions
|
|
@ -58,6 +58,8 @@ def test_grade_is_aliased_across_api_versions(client):
|
|||
def test_query_validation_rejects_out_of_range(client):
|
||||
assert client.get("/thermograph/api/v2/grade",
|
||||
params={"lat": 999, "lon": 0}).status_code == 422
|
||||
assert client.get("/thermograph/api/v2/grade",
|
||||
params={**Q, "days": 0}).status_code == 422
|
||||
|
||||
|
||||
def test_api_version_reports_backend_contract(client):
|
||||
|
|
@ -66,8 +68,6 @@ def test_api_version_reports_backend_contract(client):
|
|||
body = r.json()
|
||||
assert {"backend_version", "min_frontend", "payload_ver"} <= body.keys()
|
||||
assert body["backend_version"] == "2"
|
||||
assert client.get("/thermograph/api/v2/grade",
|
||||
params={**Q, "days": 0}).status_code == 422
|
||||
|
||||
|
||||
def test_day_detail_and_ladders(client, history):
|
||||
|
|
|
|||
Loading…
Reference in a new issue