We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a71406 commit 00eabc2Copy full SHA for 00eabc2
1 file changed
test/unit/test_ldc_hook.py
@@ -127,7 +127,9 @@ def test_get_corpus_file_returns_response(monkeypatch):
127
"""Ensure that the file download is created appropriately."""
128
session = MagicMock(spec=requests.Session)
129
login_page = make_login_page_response()
130
- download_response = make_download_response(200, {"Content-Disposition": "attachment; filename=example.zip"})
+ download_response = make_download_response(
131
+ 200, {"Content-Disposition": "attachment; filename=example.zip"}
132
+ )
133
134
session.get.side_effect = [login_page, download_response]
135
session.prepare_request.return_value = MagicMock()
0 commit comments