diff --git a/tests/app/main/views/test_platform_admin.py b/tests/app/main/views/test_platform_admin.py index de704e0a2..1f1fb9757 100644 --- a/tests/app/main/views/test_platform_admin.py +++ b/tests/app/main/views/test_platform_admin.py @@ -689,9 +689,13 @@ def test_clear_cache_shows_form(client_request, platform_admin_user, mocker): @pytest.mark.parametrize('model_type, expected_calls, expected_confirmation', ( ('template', [ + # Returns 101 call('service-????????-????-????-????-????????????-templates'), + # Returns 102 call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-version-*'), + # Returns 103 call('service-????????-????-????-????-????????????-template-????????-????-????-????-????????????-versions'), + # 103 shown here because it’s the `max` of the 3 counts ], 'Removed 103 template objects from redis'), ('service', [ call('has_jobs-????????-????-????-????-????????????'),