mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Docker is using a different version of pytest, and assert_called_once is newly introduced.
This commit is contained in:
@@ -666,4 +666,4 @@ def test_platform_admin_list_complaints(
|
|||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
resp_data = response.get_data(as_text=True)
|
resp_data = response.get_data(as_text=True)
|
||||||
assert 'Email complaints' in resp_data
|
assert 'Email complaints' in resp_data
|
||||||
mock.assert_called_once()
|
assert mock.called
|
||||||
|
|||||||
Reference in New Issue
Block a user