mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
Working tests and provider stats table.
Fix for tests and import error. Added tests and updated for code review comments.
This commit is contained in:
@@ -486,10 +486,10 @@ def test_filter_by_status_and_template_type(notify_api,
|
||||
headers=[auth_header])
|
||||
|
||||
notifications = json.loads(response.get_data(as_text=True))
|
||||
assert response.status_code == 200
|
||||
assert len(notifications['notifications']) == 1
|
||||
assert notifications['notifications'][0]['template']['template_type'] == 'email'
|
||||
assert notifications['notifications'][0]['status'] == 'delivered'
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
def test_get_notification_statistics(
|
||||
|
||||
Reference in New Issue
Block a user