Page MenuHomeSoftware Heritage

tests: make compatible with scheduler 0.0.56

Authored by douardda on May 15 2019, 5:34 PM.

Diff Detail

rDCIDX Metadata indexer
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.May 15 2019, 5:34 PM
vlorentz requested changes to this revision.May 16 2019, 3:57 PM
This revision now requires changes to proceed.May 16 2019, 3:57 PM


Pay attention to the '.' instead of '_' in the mocked paths.

84c0bd724b5de01d34ed0066ca386d63ab181a95 moved the swh/scheduler/ file in swh/scheduler/cli/ so the mocking must be adapted accordingly.

Keeping both versions ensure tests will pass against scheduler 'older' (<0.0.56) versions also.

ardumont accepted this revision.May 16 2019, 4:19 PM
vlorentz accepted this revision.May 17 2019, 10:26 AM
This revision is now accepted and ready to land.May 17 2019, 10:26 AM
This revision was automatically updated to reflect the committed changes.