Skip to content

Commit

Permalink
TST: fixed config and versions route tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Jun 7, 2024
1 parent ac12e72 commit 62edf14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_config_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def test_config_info_route(tmp_app_with_users, snowwhite_token): # NOQA

response = json.loads(r.data.decode("utf-8"))

assert compare_nested(expected_content, response)
assert "config" in response
assert compare_nested(expected_content, response["config"])


def test_config_version_route(tmp_app_with_users): # NOQA
Expand All @@ -38,4 +39,5 @@ def test_config_version_route(tmp_app_with_users): # NOQA

response = json.loads(r.data.decode("utf-8"))

assert compare_nested(expected_content, response)
assert "versions" in response
assert compare_nested(expected_content, response["versions"])

0 comments on commit 62edf14

Please sign in to comment.