Contrib: Test Runner - djcelery.contrib.test_runner

class djcelery.contrib.test_runner.CeleryTestSuiteRunner(verbosity=1, interactive=True, failfast=True, **kwargs)

Django test runner allowing testing of celery delayed tasks.

All tasks are run locally, not in a worker.

To use this runner set settings.TEST_RUNNER:

TEST_RUNNER = "celery.contrib.test_runner.CeleryTestSuiteRunner"
setup_test_environment(**kwargs)

Previous topic

Cache Backend - djcelery.backends.cache

Next topic

Utilities - djcelery.utils

This Page