Add extra assertion

To be crystal clear 💎
This commit is contained in:
Chris Hill-Scott
2020-06-23 13:48:55 +01:00
committed by GitHub
parent 996800f90d
commit cb4b809131

View File

@@ -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))
]