@@ -19,20 +19,8 @@ def test_schedule_to_string(schedule):
19
19
20
20
def test_beat_init_attachment (
21
21
default_options ,
22
- # flower_base_url,
23
- # show_task_id,
24
- # show_task_execution_time,
25
22
show_celery_hostname ,
26
- # show_task_args,
27
- # show_task_kwargs,
28
- # show_task_exception_info,
29
- # show_task_return_value,
30
- # show_task_prerun,
31
23
use_fixed_width ,
32
- # include_tasks,
33
- # exclude_tasks,
34
- # failures_only,
35
- # webhook,
36
24
beat_schedule ,
37
25
beat_show_full_task_path ,
38
26
):
@@ -63,22 +51,7 @@ def test_beat_init_attachment(
63
51
64
52
def test_celery_startup_attachment (
65
53
default_options ,
66
- # flower_base_url,
67
- # show_task_id,
68
- # show_task_execution_time,
69
54
show_celery_hostname ,
70
- # show_task_args,
71
- # show_task_kwargs,
72
- # show_task_exception_info,
73
- # show_task_return_value,
74
- # show_task_prerun,
75
- # use_fixed_width,
76
- # include_tasks,
77
- # exclude_tasks,
78
- # failures_only,
79
- # webhook,
80
- # beat_schedule,
81
- # beat_show_full_task_path,
82
55
):
83
56
"""Test the celery startup attachment."""
84
57
these_options = locals ()
@@ -96,22 +69,7 @@ def test_celery_startup_attachment(
96
69
97
70
def test_celery_shutdown_attachment (
98
71
default_options ,
99
- # flower_base_url,
100
- # show_task_id,
101
- # show_task_execution_time,
102
72
show_celery_hostname ,
103
- # show_task_args,
104
- # show_task_kwargs,
105
- # show_task_exception_info,
106
- # show_task_return_value,
107
- # show_task_prerun,
108
- # use_fixed_width,
109
- # include_tasks,
110
- # exclude_tasks,
111
- # failures_only,
112
- # webhook,
113
- # beat_schedule,
114
- # beat_show_full_task_path,
115
73
):
116
74
"""Test the celery shutdown attachment."""
117
75
these_options = locals ()
@@ -131,20 +89,9 @@ def test_task_prerun_attachment(
131
89
default_options ,
132
90
flower_base_url ,
133
91
show_task_id ,
134
- # show_task_execution_time,
135
- # show_celery_hostname,
136
92
show_task_args ,
137
93
show_task_kwargs ,
138
- # show_task_exception_info,
139
- # show_task_return_value,
140
- # show_task_prerun,
141
94
use_fixed_width ,
142
- # include_tasks,
143
- # exclude_tasks,
144
- # failures_only,
145
- # webhook,
146
- # beat_schedule,
147
- # beat_show_full_task_path,
148
95
task_id ,
149
96
task ,
150
97
args ,
@@ -193,19 +140,12 @@ def test_task_failure_attachment(
193
140
flower_base_url ,
194
141
show_task_id ,
195
142
show_task_execution_time ,
196
- # show_celery_hostname,
197
143
show_task_args ,
198
144
show_task_kwargs ,
199
145
show_task_exception_info ,
200
- # show_task_return_value,
201
- # show_task_prerun,
202
146
use_fixed_width ,
203
147
include_tasks ,
204
148
exclude_tasks ,
205
- # failures_only,
206
- # webhook,
207
- # beat_schedule,
208
- # beat_show_full_task_path,
209
149
task_name ,
210
150
exc ,
211
151
task_id ,
@@ -282,19 +222,12 @@ def test_task_success_attachment(
282
222
flower_base_url ,
283
223
show_task_id ,
284
224
show_task_execution_time ,
285
- # show_celery_hostname,
286
225
show_task_args ,
287
226
show_task_kwargs ,
288
- # show_task_exception_info,
289
227
show_task_return_value ,
290
- # show_task_prerun,
291
228
use_fixed_width ,
292
229
include_tasks ,
293
230
exclude_tasks ,
294
- # failures_only,
295
- # webhook,
296
- # beat_schedule,
297
- # beat_show_full_task_path,
298
231
task_name ,
299
232
retval ,
300
233
task_id ,
0 commit comments