MCPcopy
hub / github.com/rq/django-rq / test_default_job_class

Method test_default_job_class

tests/tests.py:499–501  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

497
498class JobClassTest(TestCase):
499 def test_default_job_class(self):
500 job_class = get_job_class()
501 self.assertIs(job_class, Job)
502
503 @override_settings(RQ={'JOB_CLASS': 'tests.fixtures.DummyJob'})
504 def test_custom_class(self):

Callers

nothing calls this directly

Calls 1

get_job_classFunction · 0.90

Tested by

no test coverage detected