mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
When someone complains about an email from the platform we get a callback from SES.
A new platform admin page Email complaints has been added to surface those complaints. Eventually the complaints will be visible to the services so they can remove the email address from their mailing list. Next thing to implement is "x email complaints" warning on the platform admin summary page.
This commit is contained in:
10
tests/app/notify_client/test_compliant_client.py
Normal file
10
tests/app/notify_client/test_compliant_client.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from app import ComplaintApiClient
|
||||
|
||||
|
||||
def test_get_all_complaints(mocker):
|
||||
client = ComplaintApiClient()
|
||||
|
||||
mock = mocker.patch('app.notify_client.complaint_api_client.ComplaintApiClient.get')
|
||||
|
||||
client.get_all_complaints()
|
||||
mock.assert_called_once_with('/complaint')
|
||||
Reference in New Issue
Block a user