l.s.j.t.__init__ : module documentation

Part of lp.services.job.tests

No module docstring
Function celery_worker Return a ContextManager for a "celery worker" instance.
Function monitor_celery Context manager that provides a list of Celery responses.
Function block_on_job Undocumented
Function drain_celery_queues Undocumented
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 2022-06-16 00:00:12.