From 176d590804cef4c7a0b175388ace50a75f775034 Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Wed, 18 Sep 2024 09:06:28 +0100 Subject: [PATCH] fix test --- tests/app/test_jinja_filters.py | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/tests/app/test_jinja_filters.py b/tests/app/test_jinja_filters.py index 030240378f..c2c2b86d29 100644 --- a/tests/app/test_jinja_filters.py +++ b/tests/app/test_jinja_filters.py @@ -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