We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f3d64 commit 4a46549Copy full SHA for 4a46549
django_dbq/tests.py
@@ -58,6 +58,13 @@ def test_errors_raised_correctly(self):
58
call_command('create_job', 'some_other_job', stdout=StringIO())
59
60
61
+@override_settings(JOBS={'testjob': {'tasks': ['a']}})
62
+class WorkerManagementCommandTestCase(TestCase):
63
+
64
+ def test_worker_no_args(self):
65
+ call_command('worker', stdout=StringIO())
66
67
68
@override_settings(JOBS={'testjob': {'tasks': ['a']}})
69
class JobTestCase(TestCase):
70
0 commit comments