Skip to content

Commit

Permalink
Fix test_parse_post_wrapper_params test
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmaxwell committed Oct 23, 2024
1 parent b0271e6 commit e96527b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_templatetags_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e96527b

Please sign in to comment.