HomeSoftware Heritage

Kill the CustomCelery class

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Kill the CustomCelery class

use functions instead of methods.

This is required to be able to use celery pytest fixtures so one can
really test celery tasks (especially when a task spawns sub tasks).

one (get_queue_lenth) of the 3 methods has been added as (monkeypatched)
method on the Celery class for the sake of bw compat, but this should really
be removed as well as soon as possible (seems only used in swh-archiver).

Details

Provenance
douarddaAuthored on Jan 7 2019, 4:53 PM
douarddaPushed on Jan 10 2019, 3:53 PM
Differential Revision
D888: Kill the CustomCelery class
Build Status
Buildable 3369
Build 4344: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.