From cb4b809131196d9b7b282cfce6265cecc2937809 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 23 Jun 2020 13:48:55 +0100 Subject: [PATCH] Add extra assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be crystal clear 💎 --- tests/app/v2/notifications/test_post_notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/v2/notifications/test_post_notifications.py b/tests/app/v2/notifications/test_post_notifications.py index 3632e45a0..994517d81 100644 --- a/tests/app/v2/notifications/test_post_notifications.py +++ b/tests/app/v2/notifications/test_post_notifications.py @@ -233,6 +233,7 @@ def test_should_cache_template_lookups_in_memory(mocker, client, sample_template headers=[('Content-Type', 'application/json'), auth_header] ) + assert mock_get_template.call_count == 1 assert mock_get_template.call_args_list == [ call(service_id=sample_template.service_id, template_id=str(sample_template.id)) ]