HomeSoftware Heritage

conftest: do not use hypothesis to generate origins and contents

Description

conftest: do not use hypothesis to generate origins and contents

using gen_origins and gen_contents helper functions from swh.model
for the Storage under test.

This is required because

1/ it was a non-conventional use of hypothesis, and
2/ since hypotesis 4.42, tests using hypothesis-generated origins and contents

are broken.

Also increase default origins generated size to 100.

Details

Provenance
douarddaAuthored on Oct 29 2019, 10:10 AM
vlorentzPushed on Oct 30 2019, 5:21 PM
Differential Revision
D2187: conftest: do not use hypothesis to generate origins and contents
Parents
rDSTOC35bdea85a79e: make in_memory Storage compatible with frozen model entities
Branches
Unknown
Tags
Unknown