Skip to content

Commit

Permalink
fix total tests
Browse files Browse the repository at this point in the history
  • Loading branch information
axif0 committed Jan 21, 2025
1 parent 2479fe2 commit 386d6a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cli/test_total.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_total_wrapper_wikidata_dump_flag(self, mock_parse_dump):
total_wrapper(wikidata_dump=True)
mock_parse_dump.assert_called_once_with(
language=None,
data_types=[None],
data_types=None,
wikidata_dump_type=["total"],
wikidata_dump_path=None,
)
Expand All @@ -288,7 +288,7 @@ def test_total_wrapper_wikidata_dump_with_all(self, mock_parse_dump):
total_wrapper(wikidata_dump=True, all_bool=True)
mock_parse_dump.assert_called_once_with(
language="all",
data_types=["all"],
data_types="all",
wikidata_dump_type=["total"],
wikidata_dump_path=None,
)
Expand Down Expand Up @@ -335,7 +335,7 @@ def test_total_wrapper_qid_with_wikidata_dump(self, mock_parse_dump):
total_wrapper(language="Q9217", wikidata_dump=True, all_bool=True)
mock_parse_dump.assert_called_once_with(
language="Q9217",
data_types=["all"],
data_types="all",
wikidata_dump_type=["total"],
wikidata_dump_path=None,
)
Expand Down

0 comments on commit 386d6a0

Please sign in to comment.