HomeSoftware Heritage

tests: make tests run with a proper scheduler

Authored by douardda on Dec 19 2019, 9:18 AM.

Description

tests: make tests run with a proper scheduler

so the scheduler interaction code is executed.

Note that this does not test for correctness in these interactions yet.

also move tests/__init__.py content in tests/conftest.py and adapt test code
accordingly.

This also ensures retries_left is set otherwise tests may fail when using
the local sheduler.

Details

Committed
douarddaDec 20 2019, 12:09 PM
Pushed
douarddaJan 7 2020, 10:24 AM
Differential Revision
D2474: conftest: use pytest-postgresql for django related tests
Parents
rDDEP647725961068: conftest: use pytest-postgresql for django related tests
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9983
Build 14754: test-and-buildJenkins