HomeSoftware Heritage

add a new get_priority_ratios endpoint to the scheduler

Description

add a new get_priority_ratios endpoint to the scheduler

this is necessary to make it much easier to write tests so they do not need to
execute SQL statements, which makes possible to run exactly the same tests
with the SchedulerBackend as the RemoteScheduler one (see the
following revision).

Details

Provenance
douarddaAuthored on Oct 16 2019, 10:46 AM
douarddaPushed on Oct 16 2019, 5:55 PM
Differential Revision
D2146: Update tests to pytest
Parents
rDSCHc2ccf460f552: updater/tests: rewrite updater's tests as pytest functions
Branches
Unknown
Tags
Unknown
Build Status
Buildable 8485
Build 12314: test-and-buildJenkins