celery.fixups.django.DjangoWorkerFixup

Here are the examples of the python api celery.fixups.django.DjangoWorkerFixup taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : test_django.py
with Apache License 2.0
from gethue

    def test_worker_fixup_property(self, DjangoWorkerFixup):
        f = DjangoFixup(self.app)
        f._worker_fixup = None
        assert f.worker_fixup is DjangoWorkerFixup()
        assert f.worker_fixup is DjangoWorkerFixup()

    def test_on_import_modules(self):