HomeSoftware Heritage

Fix tests for the scheduler and the API

Description

Fix tests for the scheduler and the API

adapt the configuration to latest refactorings (especially the 'scheduling_db'
config entry which is now just 'db').

Also refactor the scheduler tests to simplify the test class a bit: constants
used in the test do not need to be in the setUp of the test class, making this
setUp method useless.

Doing so, ensure to use simple dicts as test constants instead of
copy-the-modify them. This is (unit)test file, the dumbest, the better.

Details

Provenance
douarddaAuthored on Jan 29 2019, 2:24 PM
douarddaPushed on Jan 30 2019, 11:54 AM
Differential Revision
D1027: Fix tests for the scheduler and the API
Parents
rDSCH61c91b82d5fb: Refactor config handling in cli.py
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3855
Build 5047: test-and-build