From b7cd8b70b25dfaa95c707e762cd5efe249cd9206 Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Wed, 18 Sep 2024 08:41:23 +0100 Subject: [PATCH] fix test type --- tests/app/test_jinja_filters.py | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/tests/app/test_jinja_filters.py b/tests/app/test_jinja_filters.py index e0fd4877fc..9ba1bd697a 100644 --- a/tests/app/test_jinja_filters.py +++ b/tests/app/test_jinja_filters.py @@ -1342,22 +1342,20 @@ def test_map_list_collector_config_render_icon_set(): def test_map_list_config(): list_values = [ - [ - { - "item_title": "Harry Potter", - "primary_person": False, - "list_item_id": "1", - "is_complete": True, - "repeating_blocks": False, - }, - { - "item_title": "Clark Kent", - "primary_person": False, - "list_item_id": "2", - "is_complete": False, - "repeating_blocks": False, - }, - ] + { + "item_title": "Harry Potter", + "primary_person": False, + "list_item_id": "1", + "is_complete": True, + "repeating_blocks": False, + }, + { + "item_title": "Clark Kent", + "primary_person": False, + "list_item_id": "2", + "is_complete": False, + "repeating_blocks": False, + }, ] output = map_list_config(list_values)