This commit is contained in:
Kenneth Kehl
2025-01-10 16:25:26 -08:00
parent bf3fc43e87
commit 44ce495190
7 changed files with 25 additions and 17 deletions

View File

@@ -664,7 +664,7 @@ def test_send_already_registered_email(
stmt = select(Notification)
notification = db.session.execute(stmt).scalars().first()
mocked.assert_called_once_with(
([str(notification.id)]), queue="notify-internal-tasks"
([str(notification.id)]), queue="notify-internal-tasks", countdown=30
)
assert (
notification.reply_to_text
@@ -703,7 +703,7 @@ def test_send_user_confirm_new_email_returns_204(
stmt = select(Notification)
notification = db.session.execute(stmt).scalars().first()
mocked.assert_called_once_with(
([str(notification.id)]), queue="notify-internal-tasks"
([str(notification.id)]), queue="notify-internal-tasks", countdown=30
)
assert (
notification.reply_to_text