From 42f3d2d5524ca96affa566ecdd83b1ff9a5c0a5c Mon Sep 17 00:00:00 2001 From: Saeed Rasooli Date: Thu, 19 Dec 2024 19:44:11 +0330 Subject: [PATCH] freedict: improve test coverage --- tests/g_freedict_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/g_freedict_test.py b/tests/g_freedict_test.py index e11d5a4b6..2c0b62af1 100644 --- a/tests/g_freedict_test.py +++ b/tests/g_freedict_test.py @@ -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", }, ) @@ -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()