Page MenuHomeSoftware Heritage

Revert "tests/api/graph: Ensure tests pass with all requests-mock versions"
ClosedPublic

Authored by anlambert on Fri, Apr 30, 11:41 AM.

Details

Summary

This reverts commit 50c6b1f01fb6de10498a89e37e901382b773eeeb.

The issue was coming from a bug in requests-mock that is now fixed
in version 1.9.2 of the package so revert introduced workaround
and exclude buggy versions of requests-mock in requirements-test.

See https://github.com/jamielennox/requests-mock/issues/170

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5651 (id=20183)

Rebasing onto fde7413968...

Current branch diff-target is up to date.
Changes applied before test
commit 03cfd89a1d19873f5be0f04229ec6bd7442eb5d4
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Apr 30 11:33:05 2021 +0200

    Revert "tests/api/graph: Ensure tests pass with all requests-mock versions"
    
    This reverts commit 50c6b1f01fb6de10498a89e37e901382b773eeeb.
    
    The issue was coming from a bug in requests-mock that is now fixed
    in version 1.9.2 of the package so revert introduced workaround
    and exclude buggy versions of requests-mock in requirements-test.
    
    See https://github.com/jamielennox/requests-mock/issues/170

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/750/ for more details.

This revision is now accepted and ready to land.Fri, Apr 30, 11:52 AM