HomeSoftware Heritage

core tests: disambiguate arg 'request' through typing

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

core tests: disambiguate arg 'request' through typing

Both requests.Request and _pytest.FixtureRequest objects are passed to
test fixtures as argument 'request'. This hurts readability.
Adding typing annotations makes it clear which one is meant.

Details

Provenance
tenmaAuthored on Oct 29 2020, 2:43 PM
tenmaPushed on Oct 29 2020, 4:41 PM
Differential Revision
D4382: core tests: disambiguate arg 'request' through typing
Build Status
Buildable 16731
Build 25802: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.