mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-07 02:42:53 -05: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
|
||||
resp_data = response.get_data(as_text=True)
|
||||
assert 'Email complaints' in resp_data
|
||||
mock.assert_called_once()
|
||||
assert mock.called
|
||||
|
||||
Reference in New Issue
Block a user