mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Merge pull request #2975 from alphagov/rename-redis-template-keys
Step 2 of renaming cache keys for templates
This commit is contained in:
@@ -264,7 +264,7 @@ def test_should_cache_template_and_service_in_redis(mocker, client, sample_templ
|
||||
)
|
||||
|
||||
expected_service_key = f'service-{sample_template.service_id}'
|
||||
expected_templates_key = f'template-{sample_template.id}-version-None'
|
||||
expected_templates_key = f'service-{sample_template.service_id}-template-{sample_template.id}-version-None'
|
||||
|
||||
assert mock_redis_get.call_args_list == [
|
||||
call(expected_service_key),
|
||||
|
||||
Reference in New Issue
Block a user