From 3dca36ecfc03ae79805294e24bdf88d6b81168ad Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Tue, 15 Jan 2019 16:16:19 +0000 Subject: [PATCH] Actually test the right thing :) --- tests/app/dao/test_fact_notification_status_dao.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/app/dao/test_fact_notification_status_dao.py b/tests/app/dao/test_fact_notification_status_dao.py index 33579596c..c84f65b06 100644 --- a/tests/app/dao/test_fact_notification_status_dao.py +++ b/tests/app/dao/test_fact_notification_status_dao.py @@ -473,7 +473,10 @@ def test_fetch_monthly_template_usage_for_service_does_not_include_test_notifica notification_status='delivered', key_type='test', count=15) - create_notification(template=sample_template, created_at=datetime.utcnow(), status='cancelled') + create_notification(template=sample_template, + created_at=datetime.utcnow(), + status='delivered', + key_type='test',) results = fetch_monthly_template_usage_for_service( datetime(2018, 1, 1), datetime(2018, 3, 31), sample_template.service_id )