dangerzone/tests
Alex Pyrgiotis 9410b68c1d
Sanitize progress reports in a provider-agnostic way
Update the common `print_progress()` method in the base
`IsolationProvider` class, with two extra features:

1. Always sanitize the provided text argument.
2. Mark the sanitized text argument as untrusted.

This is default behavior from now on, since this function is commonly
used to parse progress reports from the conversion sandbox.
2023-08-01 14:43:48 +03:00
..
gui Add collapsible dialog for errors 2023-08-01 14:29:27 +03:00
isolation_provider Sanitize progress reports in a provider-agnostic way 2023-08-01 14:43:48 +03:00
test_docs tests: Add sample files for extra MIME types 2023-04-03 18:58:56 +03:00
__init__.py Add utility for sanitizing strings 2023-08-01 14:43:48 +03:00
conftest.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
test_cli.py Pass sample_pdf as fixture instead of via class 2023-07-25 15:00:32 +01:00
test_document.py remove number from test_doc2 variable 2023-07-25 15:00:31 +01:00
test_ocr.py ci: Add test for OCR languages 2023-05-24 13:43:29 +03:00
test_util.py Add utility for sanitizing strings 2023-08-01 14:43:48 +03:00