Skip to content

Commit 6b1c2cc

Browse files
Fix failing test in sentry client unit tests (#280)
1 parent dee3eac commit 6b1c2cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/test_sentry_client_retry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def test_download_artifact_to_file_with_retry_session(self, mock_session_class):
7171
mock_response = Mock()
7272
mock_response.status_code = 200
7373
mock_response.iter_content.return_value = [b"test content"]
74+
mock_response.headers = {"Content-Length": "12", "Content-Type": "application/octet-stream"}
7475
mock_session.get.return_value = mock_response
7576

7677
# Create client with mocked session

0 commit comments

Comments
 (0)