Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer committed Dec 12, 2023
1 parent cc991f2 commit 5bf854b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/app/notifications/test_process_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

from tests.conftest import set_config


class TestContentCreation:
def test_create_content_for_notification_passes(self, sample_email_template):
template = Template.query.get(sample_email_template.id)
Expand Down Expand Up @@ -1107,12 +1108,7 @@ def test_retry_task_parameters(self, notify_api, process_type, expected_retry_pe

@pytest.mark.parametrize(
("process_type"),
[
(BULK),
(NORMAL),
(PRIORITY),
(None)
],
[(BULK), (NORMAL), (PRIORITY), (None)],
)
def test_retry_task_parameters_with_countdown_override(self, notify_api, process_type):
with notify_api.app_context():
Expand All @@ -1127,7 +1123,7 @@ def test_retry_task_parameters_with_countdown_override(self, notify_api, process
(BULK, CeleryParams.RETRY_PERIODS[BULK]),
(NORMAL, CeleryParams.RETRY_PERIODS[NORMAL]),
(PRIORITY, CeleryParams.RETRY_PERIODS[PRIORITY]),
(None, CeleryParams.RETRY_PERIODS[PRIORITY])
(None, CeleryParams.RETRY_PERIODS[PRIORITY]),
],
)
def test_retry_task_parameters_with_ff_off(self, notify_api, process_type, expected_retry_period):
Expand Down

0 comments on commit 5bf854b

Please sign in to comment.