Page MenuHomeSoftware Heritage

tests: Explicit registering test tasks step for the swh_app
ClosedPublic

Authored by ardumont on Oct 10 2019, 3:28 PM.

Details

Summary

Prior to this commit, the celery "app" import changed. Making the runtime
application load prior to the tests "swh_app". In effect, making the tasks not
being consumed by workers.

This explicitely forces the tests tasks registering to "swh_app". In effect
clarifying code and fixing the current tests.

Related D2082
Related 8eafc70

Test Plan

tox

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.