Page MenuHomeSoftware Heritage

conftest: do not use hypothesis to generate origins and contents
ClosedPublic

Authored by douardda on Oct 29 2019, 10:18 AM.

Details

Summary

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.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Oct 29 2019, 10:18 AM
douardda edited the summary of this revision. (Show Details)Oct 29 2019, 10:20 AM
douardda updated this revision to Diff 7488.Oct 30 2019, 9:34 AM

move gen_x functions to swh.model

douardda updated this revision to Diff 7489.Oct 30 2019, 10:00 AM

fix dependency hell (pytz, seee requirements-test.txt)

vlorentz accepted this revision.Oct 30 2019, 10:18 AM
This revision is now accepted and ready to land.Oct 30 2019, 10:18 AM