Skip to content

Commit

Permalink
Fix list tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 23, 2024
1 parent bee4776 commit 83826a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/cli/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 83826a9

Please sign in to comment.