diff --git a/package/tests/test_api/test_rest/test_router.py b/package/tests/test_api/test_rest/test_router.py
index 033e2dc49..4e4518261 100644
--- a/package/tests/test_api/test_rest/test_router.py
+++ b/package/tests/test_api/test_rest/test_router.py
@@ -98,9 +98,9 @@ def test_version(client):
 
     json_response = response.json()
     assert "installed" in json_response
-    assert "is_outdated " in json_response
+    assert "is_outdated" in json_response
     assert "latest" in json_response
 
     assert isinstance(json_response["installed"], str)
-    assert isinstance(json_response["is_outdated "], bool)
+    assert isinstance(json_response["is_outdated"], bool)
     assert isinstance(json_response["latest"], str)