Page MenuHomeSoftware Heritage

conftest: do not use hypothesis to generate origins and contents

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



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

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

Event Timeline

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

move gen_x functions to swh.model

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

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

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