Skip to content

Commit 2c09613

Browse files
fix: fixed test_temperature_success
1 parent cdb5802 commit 2c09613

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ def test_temperature_success(monkeypatch, client):
3838
mpc.setattr(datetime, "datetime", MockedDatetime)
3939
response = client.get("/temperature")
4040
assert response.status_code == 200
41-
assert response.json == {"avg_temp": 19.71}
41+
assert response.json == {
42+
"avg_temp": 19.71,
43+
"status": "Good"
44+
}

0 commit comments

Comments
 (0)