mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
delete template keys properly from platform admin page
This commit is contained in:
@@ -415,8 +415,8 @@ def clear_cache():
|
|||||||
]),
|
]),
|
||||||
('template', [
|
('template', [
|
||||||
'service-????????-????-????-????-????????????-templates',
|
'service-????????-????-????-????-????????????-templates',
|
||||||
'template-????????-????-????-????-????????????-version-*',
|
'service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-version-*',
|
||||||
'template-????????-????-????-????-????????????-versions',
|
'service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-versions',
|
||||||
]),
|
]),
|
||||||
('email_branding', [
|
('email_branding', [
|
||||||
'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', (
|
@pytest.mark.parametrize('model_type, expected_calls, expected_confirmation', (
|
||||||
('template', [
|
('template', [
|
||||||
call('service-????????-????-????-????-????????????-templates'),
|
call('service-????????-????-????-????-????????????-templates'),
|
||||||
call('template-????????-????-????-????-????????????-version-*'),
|
call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-version-*'),
|
||||||
call('template-????????-????-????-????-????????????-versions'),
|
call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-versions'),
|
||||||
], 'Removed 3 template objects from redis'),
|
], 'Removed 3 template objects from redis'),
|
||||||
('service', [
|
('service', [
|
||||||
call('has_jobs-????????-????-????-????-????????????'),
|
call('has_jobs-????????-????-????-????-????????????'),
|
||||||
|
|||||||
Reference in New Issue
Block a user