Skip to content

Commit

Permalink
freedict: improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 24, 2024
1 parent 9607794 commit 42f3d2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/g_freedict_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def __init__(self, *args, **kwargs):
{
"100-en-de.tei": "542c210e",
"100-en-de-v4.txt": "d420a669",
"freedict-sample-2024-12-19.tei": "c33b89d5",
"freedict-sample-2024-12-19.txt": "2a0a2235",
},
)

Expand All @@ -34,6 +36,12 @@ def test_convert_tei_txt_1(self):
readOptions={"auto_comma": True},
)

def test_convert_tei_txt_2(self):
self.convert_tei_txt(
"freedict-sample-2024-12-19",
"freedict-sample-2024-12-19",
)


if __name__ == "__main__":
unittest.main()

0 comments on commit 42f3d2d

Please sign in to comment.