mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-03 16:58:26 -04:00
11 lines
278 B
Python
11 lines
278 B
Python
|
|
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')
|