Make tests compatible with hypothesis 6
hypothesis 6 breaks some tests that uses both pytest fixtures and hypothesis generative tests (using @given for example).
See https://hypothesis.readthedocs.io/en/latest/healthchecks.html
hypothesis is used in (not checked if it is broken in each of these):
-
swh-core -
swh-indexer -
swh-journal -
swh-model -
swh-scheduler -
swh-storage -
swh-web
Migrated from T2969 (view on Phabricator)