Skip to content

Commit

Permalink
fix status tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Jan 9, 2024
1 parent deacf1f commit 15f2b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jhub_apps/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,6 @@ def test_api_status(client):
"/status",
)
assert response.status_code == 200
assert response.json() == {"status": "ok", "version": "0.3"}
rjson = response.json()
assert rjson["status"] == "ok"
assert "version" in rjson

0 comments on commit 15f2b23

Please sign in to comment.