mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
@@ -1,6 +1,6 @@
|
||||
from functools import partial
|
||||
import json
|
||||
import uuid
|
||||
from functools import partial
|
||||
|
||||
import pytest
|
||||
from flask import current_app
|
||||
@@ -208,6 +208,7 @@ def test_resend_expired_invite(client, sample_expired_user, mocker):
|
||||
mock_send = mocker.patch("app.service_invite.rest.send_notification_to_queue")
|
||||
mock_persist = mocker.patch("app.service_invite.rest.persist_notification")
|
||||
from app.notifications.process_notifications import persist_notification
|
||||
|
||||
mock_persist.side_effect = partial(persist_notification, simulated=True)
|
||||
auth_header = create_admin_authorization_header()
|
||||
response = client.post(
|
||||
|
||||
Reference in New Issue
Block a user