Skip to content

Commit 80eac67

Browse files
committed
cleanup attachment tests
1 parent a266935 commit 80eac67

File tree

1 file changed

+0
-67
lines changed

1 file changed

+0
-67
lines changed

tests/unit/test_attachments.py

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,8 @@ def test_schedule_to_string(schedule):
1919

2020
def test_beat_init_attachment(
2121
default_options,
22-
# flower_base_url,
23-
# show_task_id,
24-
# show_task_execution_time,
2522
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,
3123
use_fixed_width,
32-
# include_tasks,
33-
# exclude_tasks,
34-
# failures_only,
35-
# webhook,
3624
beat_schedule,
3725
beat_show_full_task_path,
3826
):
@@ -63,22 +51,7 @@ def test_beat_init_attachment(
6351

6452
def test_celery_startup_attachment(
6553
default_options,
66-
# flower_base_url,
67-
# show_task_id,
68-
# show_task_execution_time,
6954
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,
8255
):
8356
"""Test the celery startup attachment."""
8457
these_options = locals()
@@ -96,22 +69,7 @@ def test_celery_startup_attachment(
9669

9770
def test_celery_shutdown_attachment(
9871
default_options,
99-
# flower_base_url,
100-
# show_task_id,
101-
# show_task_execution_time,
10272
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,
11573
):
11674
"""Test the celery shutdown attachment."""
11775
these_options = locals()
@@ -131,20 +89,9 @@ def test_task_prerun_attachment(
13189
default_options,
13290
flower_base_url,
13391
show_task_id,
134-
# show_task_execution_time,
135-
# show_celery_hostname,
13692
show_task_args,
13793
show_task_kwargs,
138-
# show_task_exception_info,
139-
# show_task_return_value,
140-
# show_task_prerun,
14194
use_fixed_width,
142-
# include_tasks,
143-
# exclude_tasks,
144-
# failures_only,
145-
# webhook,
146-
# beat_schedule,
147-
# beat_show_full_task_path,
14895
task_id,
14996
task,
15097
args,
@@ -193,19 +140,12 @@ def test_task_failure_attachment(
193140
flower_base_url,
194141
show_task_id,
195142
show_task_execution_time,
196-
# show_celery_hostname,
197143
show_task_args,
198144
show_task_kwargs,
199145
show_task_exception_info,
200-
# show_task_return_value,
201-
# show_task_prerun,
202146
use_fixed_width,
203147
include_tasks,
204148
exclude_tasks,
205-
# failures_only,
206-
# webhook,
207-
# beat_schedule,
208-
# beat_show_full_task_path,
209149
task_name,
210150
exc,
211151
task_id,
@@ -282,19 +222,12 @@ def test_task_success_attachment(
282222
flower_base_url,
283223
show_task_id,
284224
show_task_execution_time,
285-
# show_celery_hostname,
286225
show_task_args,
287226
show_task_kwargs,
288-
# show_task_exception_info,
289227
show_task_return_value,
290-
# show_task_prerun,
291228
use_fixed_width,
292229
include_tasks,
293230
exclude_tasks,
294-
# failures_only,
295-
# webhook,
296-
# beat_schedule,
297-
# beat_show_full_task_path,
298231
task_name,
299232
retval,
300233
task_id,

0 commit comments

Comments
 (0)