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

move gen_x functions to swh.model

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

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