From 83826a92f29ffc3769363c8714f5e04bf557bf04 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Thu, 24 Oct 2024 00:22:39 +0200 Subject: [PATCH] Fix list tests --- tests/cli/test_list.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/cli/test_list.py b/tests/cli/test_list.py index 238ae8049..4ef62c5c0 100644 --- a/tests/cli/test_list.py +++ b/tests/cli/test_list.py @@ -46,7 +46,7 @@ def test_list_data_types_all_languages(self, mock_print): expected_calls = [ call(), call("Available data types: All languages"), - call("-----------------------------------"), + call("==================================="), call("adjectives"), call("adverbs"), call("emoji-keywords"), @@ -56,7 +56,6 @@ def test_list_data_types_all_languages(self, mock_print): call("prepositions"), call("proper-nouns"), call("verbs"), - call("-----------------------------------"), call(), ] mock_print.assert_has_calls(expected_calls) @@ -68,14 +67,13 @@ def test_list_data_types_specific_language(self, mock_print): expected_calls = [ call(), call("Available data types: English"), - call("-----------------------------"), + call("============================="), call("adjectives"), call("adverbs"), call("emoji-keywords"), call("nouns"), call("proper-nouns"), call("verbs"), - call("-----------------------------"), call(), ] mock_print.assert_has_calls(expected_calls)