l.s.j.tests : package documentation

Part of lp.services.job

No package docstring
Module celery_helpers No module docstring; 1/2 functions documented
Module test_celery Tests for running jobs via Celery.
Module test_celery_configuration No module docstring; 1/2 classes, 0/1 functions documented
Module test_celeryjob Undocumented
Module test_job No module docstring; 2/4 classes documented
Module test_runner Tests for job-running facilities.

From the __init__.py module:

Function block_on_job Undocumented
Function celery_worker Return a ContextManager for a "celery worker" instance.
Function drain_celery_queues Undocumented
Function monitor_celery Context manager that provides a list of Celery responses.
Function pop_remote_notifications Pop the notifications from a celery worker.
@contextmanager
def celery_worker(queue, cwd=None):
Return a ContextManager for a "celery worker" instance.

The "celery worker" instance will be configured to use the currently-configured BROKER_URL, and able to run CeleryRunJob tasks.

@contextmanager
def monitor_celery():
Context manager that provides a list of Celery responses.
@contextmanager
def block_on_job(test_case=None):
Undocumented
def drain_celery_queues():
Undocumented
def pop_remote_notifications():
Pop the notifications from a celery worker.
API Documentation for Launchpad, generated by pydoctor at 2018-12-13 00:00:05.