Skip to content

Commit 33faab3

Browse files
.
1 parent 9ecd05b commit 33faab3

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

tests/integrations/dramatiq/test_dramatiq.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ def worker(broker):
3939
@pytest.mark.parametrize(
4040
"fail_fast",
4141
[
42-
(False, True),
42+
False,
43+
True,
4344
],
4445
)
4546
def test_that_a_single_error_is_captured(broker, worker, capture_events, fail_fast):
@@ -129,7 +130,8 @@ def propagated_trace_task():
129130
@pytest.mark.parametrize(
130131
"fail_fast",
131132
[
132-
(False, True),
133+
False,
134+
True,
133135
],
134136
)
135137
def test_that_dramatiq_message_id_is_set_as_extra(
@@ -164,7 +166,8 @@ def dummy_actor(x, y):
164166
@pytest.mark.parametrize(
165167
"fail_fast",
166168
[
167-
(False, True),
169+
False,
170+
True,
168171
],
169172
)
170173
def test_that_local_variables_are_captured(broker, worker, capture_events, fail_fast):
@@ -213,7 +216,8 @@ def dummy_actor():
213216
@pytest.mark.parametrize(
214217
"fail_fast",
215218
[
216-
(False, True),
219+
False,
220+
True,
217221
],
218222
)
219223
def test_that_sub_actor_errors_are_captured(broker, worker, capture_events, fail_fast):
@@ -246,7 +250,8 @@ def sub_actor(x, y):
246250
@pytest.mark.parametrize(
247251
"fail_fast",
248252
[
249-
(False, True),
253+
False,
254+
True,
250255
],
251256
)
252257
def test_that_multiple_errors_are_captured(broker, worker, capture_events, fail_fast):
@@ -286,7 +291,8 @@ def dummy_actor(x, y):
286291
@pytest.mark.parametrize(
287292
"fail_fast",
288293
[
289-
(False, True),
294+
False,
295+
True,
290296
],
291297
)
292298
def test_that_message_data_is_added_as_request(
@@ -328,7 +334,8 @@ def dummy_actor(x, y):
328334
@pytest.mark.parametrize(
329335
"fail_fast",
330336
[
331-
(False, True),
337+
False,
338+
True,
332339
],
333340
)
334341
def test_that_expected_exceptions_are_not_captured(
@@ -357,7 +364,8 @@ def dummy_actor():
357364
@pytest.mark.parametrize(
358365
"fail_fast",
359366
[
360-
(False, True),
367+
False,
368+
True,
361369
],
362370
)
363371
def test_that_retry_exceptions_are_not_captured(

0 commit comments

Comments
 (0)