From 621e015f5ffee7aa26ccff9a33769cdc580a4f2d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 3 Oct 2016 14:15:41 +0100 Subject: [PATCH] Test that a year with no notifications returns empty list --- tests/app/dao/test_notification_dao.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/app/dao/test_notification_dao.py b/tests/app/dao/test_notification_dao.py index 7e7ac65d8..51fa9284b 100644 --- a/tests/app/dao/test_notification_dao.py +++ b/tests/app/dao/test_notification_dao.py @@ -716,6 +716,10 @@ def test_get_notification_billable_unit_count_per_month(notify_db, notify_db_ses ( 2015, [('January', 1), ('March', 1)] + ), + ( + 2014, + [] ) ): assert get_notification_billable_unit_count_per_month(