dangerzone/tests
Naglis Jonaitis 52ced04507
Relax the restrictions of util.replace_control_chars
The `util.replace_control_chars()` function was overly strict, and
would replace every non-ASCII character with "_". This included both
control characters, as well as normal characters in a non-English
alphabet.

Relax these restrictions by checking each character and deciding if it's
a Unicode control character, using the `unicodedata` Python package.
With this change, emojis and non-English letters are now allowed.
2024-04-25 14:11:16 +03:00
..
gui Create tests/test_settings.py with extra coverage 2024-04-01 18:18:41 +03:00
isolation_provider tests: Add termination tests for Dummy provider 2024-04-24 15:06:01 +03:00
test_docs Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
test_docs_compressed Add page limit of 10000 2023-09-28 11:01:14 +01:00
test_docs_external Add test files for hwp/hwpx (base64 encoded) 2023-08-01 14:37:14 +01:00
test_docs_large@0068ffcb67 Replace armor guards that indicate isolated output 2023-08-22 16:11:41 +01:00
__init__.py Relax the restrictions of util.replace_control_chars 2024-04-25 14:11:16 +03:00
conftest.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
test_cli.py Stream pages in containers: merge isolation providers 2024-02-06 19:42:33 +00:00
test_document.py remove number from test_doc2 variable 2023-07-25 15:00:31 +01:00
test_large_set.py Adapt code so it works for reporting script 2023-08-22 16:11:36 +01:00
test_ocr.py Remove timeouts 2024-02-06 20:11:43 +00:00
test_settings.py Create tests/test_settings.py with extra coverage 2024-04-01 18:18:41 +03:00
test_util.py Revert "Add non-blocking read utility" 2024-02-06 19:42:41 +00:00