-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(test_download_submission_autoresume): break initial download req…
…uest halfway through actual file-size Now that we can respond correctly to retry-level errors, this change should allow running "make regenerate-sdk-cassettes" on any valid "make dev" instance, not only one with submissions above a hard-coded file-size.
- Loading branch information
Showing
32 changed files
with
5,829 additions
and
5,776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
interactions: | ||
- request: | ||
body: '{"username": "journalist", "passphrase": "correct horse battery staple | ||
profanity oil chewy", "one_time_code": "112097"}' | ||
profanity oil chewy", "one_time_code": "578466"}' | ||
headers: {} | ||
method: POST | ||
uri: api/v1/token | ||
response: !!python/object:securedrop_client.sdk.JSONResponse | ||
data: | ||
expiration: '2024-02-29T23:13:01.444028Z' | ||
expiration: '2024-12-11T02:37:22.232423Z' | ||
journalist_first_name: null | ||
journalist_last_name: null | ||
journalist_uuid: ed64b0fa-0565-4b12-9c48-6cfe27a73fd9 | ||
token: Ilhha2ZHZWpVcFZQVmpKdWJOUzJYRG1YVUc4QXZWS0JiOGVNQXJycE5GUFUi.ZeDzXQ.10ODTj49yF7kxKbeMm9eaayR3Xo | ||
journalist_uuid: e7e047d5-aa5e-4afe-9a4f-c24e5f2cec8d | ||
token: IlAzb1p1MjRubnlLOFo0SDVaajZPc2JPZWRRcjRYRUxLM3RrUmhsUEFWVTQi.Z1jewg.4VNFOk_5HSHXhgn319zzDh9JVyg | ||
headers: | ||
connection: close | ||
content-length: '290' | ||
content-type: application/json | ||
date: Thu, 29 Feb 2024 21:13:01 GMT | ||
date: Wed, 11 Dec 2024 00:37:22 GMT | ||
server: Werkzeug/2.2.3 Python/3.8.10 | ||
status: 200 | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.