Page MenuHomeSoftware Heritage

Add tests for lister tasks
ClosedPublic

Authored by douardda on Tue, Jan 8, 10:59 AM.

Details

Summary

in order to be able to run unit tests using celery pytest fixtures, we
use a dedicated swh_app fixture that ensure the "main" celery app
is the test app (otherwise subtasks won't work).

Add tests for bitbucket tasks

Add tests for debian tasks

Add tests for gitlab tasks

Add tests for npm tasks

Add tests for pypi tasks

Diff Detail

Repository
rDLS Listers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Tue, Jan 8, 10:59 AM

Where are the swh_app and celery_session_worker parameters coming from?

vlorentz accepted this revision.Thu, Jan 10, 11:12 AM
This revision is now accepted and ready to land.Thu, Jan 10, 11:12 AM
This revision was automatically updated to reflect the committed changes.