dangerzone/tests
Alex Pyrgiotis 1c70ee6771
Fix archiving the same doc twice on Windows
On Windows, if we somehow attempt to archive the same document twice
(e.g, because it got archived once, and then we copy it back), we will
get an error, because Windows does not overwrite the target path, if it
already exists.

Fix this issue by always removing the previously archived version, when
performing the next archival action, and update our tests.
2024-05-09 15:57:42 +03:00
..
gui tests: Ignore a lint error found by mypy 1.9.0 2024-04-25 16:23:39 +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 tests: Fix text sanitization tests on Windows 2024-05-09 15:57:42 +03:00
conftest.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
test_cli.py Fix printing of filenames with surrogate escapes 2024-04-25 14:11:25 +03:00
test_document.py Fix archiving the same doc twice on Windows 2024-05-09 15:57:42 +03: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 Don't use pytest-mock mocker.patch as context manager 2024-05-08 15:40:14 +03:00
test_util.py Revert "Add non-blocking read utility" 2024-02-06 19:42:41 +00:00