HomeSoftware Heritage

github: Fix fixtures use in tests

Description

github: Fix fixtures use in tests

requests_ratelimited fixture from swh-core was renamed to
github_requests_ratelimited.

remaining_requests parameter was added to the github_response_callback
function from swh-core, making it no longer compatible with requests_mock
callback for json responses.

Details

Provenance
anlambertAuthored on Jan 2 2023, 2:20 PM
anlambertPushed on Jan 3 2023, 10:32 AM
Differential Revision
D8991: github: Fix fixtures use in tests
Parents
rDLSe218fbfef674: github: Fix test error with latest pytest release
Branches
Unknown
Tags
Unknown
References
HEAD -> master, tag: v4.3.3
Build Status
Buildable 33378
Build 52323: test-and-buildJenkins console · Jenkins