Skip to content

Commit

Permalink
Fixed response assertion in test_RefreshSession.py to compare the mes…
Browse files Browse the repository at this point in the history
…sage key directly.
  • Loading branch information
maxachis committed Jun 12, 2024
1 parent 3a29120 commit 6a7467a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/resources/test_RefreshSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def test_post_refresh_session_unexpected_error(
)

check_response_status(response, 500)
assert response.json == {
"message": "An unexpected error occurred",
}
assert response.json["message"] == "An unexpected error occurred"
mock_get_session_token_user_data.assert_called_once_with(
mock_cursor, "old_test_session_token"
)
Expand Down

0 comments on commit 6a7467a

Please sign in to comment.