mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-19 12:46:20 -04:00
delete template keys properly from platform admin page
This commit is contained in:
@@ -415,8 +415,8 @@ def clear_cache():
|
||||
]),
|
||||
('template', [
|
||||
'service-????????-????-????-????-????????????-templates',
|
||||
'template-????????-????-????-????-????????????-version-*',
|
||||
'template-????????-????-????-????-????????????-versions',
|
||||
'service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-version-*',
|
||||
'service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-versions',
|
||||
]),
|
||||
('email_branding', [
|
||||
'email_branding',
|
||||
|
||||
@@ -690,8 +690,8 @@ def test_clear_cache_shows_form(client_request, platform_admin_user, mocker):
|
||||
@pytest.mark.parametrize('model_type, expected_calls, expected_confirmation', (
|
||||
('template', [
|
||||
call('service-????????-????-????-????-????????????-templates'),
|
||||
call('template-????????-????-????-????-????????????-version-*'),
|
||||
call('template-????????-????-????-????-????????????-versions'),
|
||||
call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-version-*'),
|
||||
call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-versions'),
|
||||
], 'Removed 3 template objects from redis'),
|
||||
('service', [
|
||||
call('has_jobs-????????-????-????-????-????????????'),
|
||||
|
||||
Reference in New Issue
Block a user