HomeSoftware Heritage

hypothesis: Fix or ignore deprecation warnings since version 5.6

Description

hypothesis: Fix or ignore deprecation warnings since version 5.6

Since version 5.6, hypothesis warns on @given + function-scoped fixtures.
So turns concerned swh-web fixtures from function-scoped to session-scoped
(there is strictly no difference in tests execution result after that change)
and ignore some warnings related to external function-scoped fixtures that
are safe to use with @given (client from pytest-django and mocker from
pytest-mock).

Details

Provenance
anlambertAuthored on Mar 31 2020, 12:03 PM
anlambertPushed on Mar 31 2020, 4:58 PM
Differential Revision
D2933: hypothesis: Fix or ignore deprecation warnings since version 5.6
Parents
rDWAPPS717159e4594e: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11512
Build 17448: test-and-buildJenkins console · Jenkins