From e96527bd48a19a2742f70a332cd5371623daf212 Mon Sep 17 00:00:00 2001 From: Stuart Maxwell Date: Wed, 23 Oct 2024 22:47:29 +1300 Subject: [PATCH] Fix test_parse_post_wrapper_params test --- tests/test_templatetags_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_templatetags_helpers.py b/tests/test_templatetags_helpers.py index 3afe790..ec8f4f9 100644 --- a/tests/test_templatetags_helpers.py +++ b/tests/test_templatetags_helpers.py @@ -139,7 +139,7 @@ def test_parse_post_wrapper_params(): # Test case 2 params = ['class="blog-post"'] - expected_output = ("article", "blog-post") + expected_output = ("", "blog-post") assert parse_post_wrapper_params(params) == expected_output # Test case 3 @@ -152,7 +152,7 @@ def test_parse_post_wrapper_params(): expected_output = ("blog-post", "") assert parse_post_wrapper_params(params) == expected_output - # Test case 4 + # Test case 5 params = ['""', '"blog-post"'] expected_output = ("", "blog-post") assert parse_post_wrapper_params(params) == expected_output