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
Branch
fix-hypothesis
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 8695
Build 12661: tox-on-jenkinsJenkins
Build 12660: arc lint + arc unit

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