Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 committed Jul 28, 2023
1 parent 9f8562d commit 4c85792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/session/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def test_box_session_raises_for_non_json_response_after_retry(box_session, mock_
# pylint:disable=redefined-outer-name
API.MAX_RETRY_ATTEMPTS = 1
mock_network_layer.request.side_effect = [non_json_response] * (API.MAX_RETRY_ATTEMPTS + 1)

with pytest.raises(BoxAPIException):
box_session.get(url=test_url)
API.MAX_RETRY_ATTEMPTS = 5
Expand Down

0 comments on commit 4c85792

Please sign in to comment.