From 15f2b233fa85e6c599407fd8a2517875b2d814fc Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 9 Jan 2024 10:39:15 +0000 Subject: [PATCH] fix status tests --- jhub_apps/tests/test_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jhub_apps/tests/test_api.py b/jhub_apps/tests/test_api.py index 37659de7..e058113d 100644 --- a/jhub_apps/tests/test_api.py +++ b/jhub_apps/tests/test_api.py @@ -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