HomeSoftware Heritage

conftest: Set HTTP_IN_PROGRESS to True when creating partial deposits.

Description

conftest: Set HTTP_IN_PROGRESS to True when creating partial deposits.

conftest is cheating by hard-resetting the deposit status to partial
after creating a complete deposit; but it doesn't make sense for
a real scenario.

Additionally, a future commit will add a test relying on the
'partial_deposit' not scheduling a task, so the HTTP_IN_PROGRESS
header will need to be True at that point.

Details

Provenance
vlorentzAuthored on Nov 25 2020, 12:59 PM
vlorentzPushed on Nov 25 2020, 5:51 PM
Differential Revision
D4589: conftest: Set HTTP_IN_PROGRESS to True when creating partial deposits.
Parents
rDDEPfb1c19d942ed: Make APIBase.get_client return a non-Optional.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 17515
Build 27072: test-and-buildJenkins console · Jenkins