delete template keys properly from platform admin page

This commit is contained in:
Leo Hemsted
2020-10-05 16:52:48 +01:00
parent 229d5eb716
commit 6eccc66115
2 changed files with 4 additions and 4 deletions

View File

@@ -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-????????-????-????-????-????????????'),