From 43000b22538f2ca23181de3dcf5d50cb669cb0ea Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 6 Aug 2018 15:13:08 +0100 Subject: [PATCH] Add a new test --- tests/app/dao/test_service_data_retention_dao.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/app/dao/test_service_data_retention_dao.py b/tests/app/dao/test_service_data_retention_dao.py index 19b77ca63..2c5551bb3 100644 --- a/tests/app/dao/test_service_data_retention_dao.py +++ b/tests/app/dao/test_service_data_retention_dao.py @@ -136,7 +136,10 @@ def test_update_service_data_retention_does_not_update_row_if_data_retention_is_ @pytest.mark.parametrize('notification_type, alternate', [('sms', 'email'), - ('email', 'sms'), ('letter', 'email')]) + ('email', 'sms'), + ('letter', 'email'), + ('letter', 'sms')] + ) def test_fetch_service_data_retention_by_notification_type(sample_service, notification_type, alternate): data_retention = create_service_data_retention(service_id=sample_service.id, notification_type=notification_type) create_service_data_retention(service_id=sample_service.id, notification_type=alternate)