Page MenuHomeSoftware Heritage

tests: make compatible with scheduler 0.0.56

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

Diff Detail

rDCIDX Object 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.Wed, May 15, 5:34 PM
vlorentz requested changes to this revision.Thu, May 16, 3:57 PM
This revision now requires changes to proceed.Thu, May 16, 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.Thu, May 16, 4:19 PM
vlorentz accepted this revision.Fri, May 17, 10:26 AM
This revision is now accepted and ready to land.Fri, May 17, 10:26 AM
This revision was automatically updated to reflect the committed changes.