From a621d44b930555a2363a35cfd9125d5929750095 Mon Sep 17 00:00:00 2001 From: Rob <5183487+Rexeh@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:12:58 +0000 Subject: [PATCH] Missing template test fix --- tests/test_template.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tests/test_template.py b/tests/test_template.py index da595f8..25f5100 100644 --- a/tests/test_template.py +++ b/tests/test_template.py @@ -59,11 +59,20 @@ def test_template_button_property(get_template_path_valid): def test_template_modifiers_property(get_template_path_valid): - expected_modifiers = {"button_1_mod_1", "button_1_mod_2", "button_2_mod_1"} + expected_modifiers = { + "button_1_modifier_1", + "button_2_modifiers", + "button_1_modifiers", + "button_1_modifier_2", + "button_1_modifier_1_key", + "button_1_modifier_1_action", + "button_1_modifier_2_key", + "button_1_modifier_2_action", + } setup_template = Template(get_template_path_valid) - assert setup_template.modifier_count == 3 - assert setup_template.get_template_mndifiers() == expected_modifiers + assert setup_template.modifier_count == 8 + assert setup_template.get_template_modifiers() == expected_modifiers def test_template_template_name_exists(get_template_path_valid):