Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Sep 18, 2024
1 parent 294ab12 commit 176d590
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions tests/app/test_jinja_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1361,21 +1361,19 @@ def test_map_list_config():
output = map_list_config(list_values)

expected = [
[
{
"text": "Harry Potter",
"iconType": "check",
"attributes": {
"data-qa": "list-item-1-label",
},
{
"text": "Harry Potter",
"iconType": "check",
"attributes": {
"data-qa": "list-item-1-label",
},
{
"text": "Clark Kent",
"attributes": {
"data-qa": "list-item-2-label",
},
},
{
"text": "Clark Kent",
"attributes": {
"data-qa": "list-item-2-label",
},
]
},
]

assert output == expected
Expand Down

0 comments on commit 176d590

Please sign in to comment.