25 Commits

Author SHA1 Message Date
KnugiHK
db01d05263 Refactor get_chat_condition to increase maintainability 2026-01-24 00:50:06 +08:00
KnugiHK
2e7953f4ca Add unit test for get_chat_condition 2026-01-24 00:03:21 +08:00
KnugiHK
035e61c4d7 Fix incremental merge CI 2026-01-19 21:31:23 +08:00
KnugiHK
9cedcf1767 Create conftest to oves test_nuitka_binary.py to the end of testing
Moves test_nuitka_binary.py to the end and fails if the file is missing.
2026-01-06 23:00:36 +08:00
KnugiHK
a1c53c3db2 Update test_nuitka_binary.py 2025-12-27 17:32:28 +08:00
KnugiHK
173eb5d02e Python 3.14 is not yet supported for Nuitka 2025-12-27 17:26:24 +08:00
KnugiHK
b39aae365a Update test_nuitka_binary.py 2025-12-27 17:26:03 +08:00
KnugiHK
ddd0ac3143 Refactor vCard parsing to improve decoding and structure
Replaces regex-based vCard parsing with dedicated functions for parsing lines, handling quoted-printable encoding, and extracting fields. Adds support for CHARSET and ENCODING parameters, improves handling of multi-line and encoded values, and centralizes vCard entry processing for better maintainability and accuracy.
2025-12-14 23:00:48 +08:00
tomballgithub
02363af637 Updated vcard test to check for failing cases which caused this PR 2025-12-03 22:42:31 -06:00
KnugiHK
f89f53cf2d Fix test cases 2025-06-01 12:15:54 +08:00
KnugiHK
0ecfe6c59a Cast numeric string in readable_to_bytes 2025-06-01 12:15:15 +08:00
KnugiHK
e408c31415 Fix: it is impossible to have 0.1 byte as byte is the smallest unit 2025-05-17 19:26:18 +08:00
KnugiHK
6a0fca3e9d Add more tests for utility 2025-05-17 19:16:57 +08:00
KnugiHK
3f88f7fe08 Replacing slugify with a new function 2025-05-17 16:04:31 +08:00
KnugiHK
33149075d3 autopep8 2025-05-11 18:07:51 +08:00
KnugiHK
bb48cd381b Fix test case where media_base should never be None 2025-05-11 17:49:33 +08:00
KnugiHK
904f44dc12 Update test_nuitka_binary.py 2025-05-07 22:40:28 +08:00
KnugiHK
3e37bbb021 Create test_nuitka_binary.py 2025-05-07 22:28:48 +08:00
KnugiHK
a3294ead11 Add a basic sanity check for the exporter
The check make sure all modules can be imported and the exporter can at least run without any arguments provided.
2025-05-07 21:45:45 +08:00
KnugiHK
e2b773eac5 Move all tests to single directory 2025-05-07 21:31:29 +08:00
fschuh
db42ad123d Fixed unit tests so they no longer fail on Windows 2025-05-05 15:53:13 -04:00
fschuh
dad7666adb Updated to also use shutil for JSON file copying 2025-05-05 12:32:29 -04:00
KnugiHK
a58dd78be8 PEP8 2025-05-05 17:13:43 +08:00
KnugiHK
3220ed2d3f Update testing data 2025-05-05 17:11:55 +08:00
fschuh
fab9bc7649 Added unit tests 2025-05-05 00:37:01 -04:00