swh.scheduler.pytest_plugin module#

swh.scheduler.pytest_plugin.swh_scheduler_class()[source]#
swh.scheduler.pytest_plugin.swh_scheduler_config(postgresql_scheduler)[source]#
swh.scheduler.pytest_plugin.swh_scheduler(swh_scheduler_class, swh_scheduler_config)[source]#
swh.scheduler.pytest_plugin.swh_db_scheduler(swh_scheduler_class, swh_scheduler_config)#
swh.scheduler.pytest_plugin.swh_scheduler_celery_app()[source]#

Set up a Celery app as swh.scheduler and swh worker tests would expect it

swh.scheduler.pytest_plugin.swh_scheduler_celery_includes()[source]#

List of task modules that should be loaded by the swh_scheduler_celery_worker on startup.

swh.scheduler.pytest_plugin.swh_scheduler_celery_worker(swh_scheduler_celery_app, swh_scheduler_celery_includes)[source]#

Spawn a worker