dangerzone/tests
Alexis Métaireau 2d321bf257
Add a dependency to numpy for the tests
This is useful to reduce the computation time when creating PDF visual
diffs. Here is a comparison of the same operation using python arrays
and numpy arrays + lookups:

Python arrays:
```
diff took 5.094218431997433 seconds
diff took 3.1553626069980965 seconds
diff took 3.3721952960004273 seconds
diff took 3.2134646750018874 seconds
diff took 3.3410625500000606 seconds
diff took 3.2893160990024626 seconds
```

Numpy:
```
diff took 0.13705662599750212 seconds
diff took 0.05698924000171246 seconds
diff took 0.15319590600120137 seconds
diff took 0.06126453700198908 seconds
diff took 0.12916332699751365 seconds
diff took 0.05839455900058965 seconds
2025-03-26 11:45:44 +01:00
..
gui Warn users if the minimum version of Docker Desktop is not met 2025-01-21 10:21:24 +01:00
isolation_provider Fix a Podman regression regarding Buildkit images 2025-03-20 17:17:40 +02:00
test_docs tests: test for regressions when converting PDFs when running the tests 2025-03-26 11:45:43 +01: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 chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
conftest.py tests: test for regressions when converting PDFs when running the tests 2025-03-26 11:45:43 +01:00
test_cli.py Add a dependency to numpy for the tests 2025-03-26 11:45:44 +01:00
test_document.py Prevent user from using illegal characters in output filename 2024-10-07 18:04:47 +03:00
test_large_set.py tests: Do not let LibreOffice hang on the large test set 2024-08-09 14:32:19 +03:00
test_ocr.py Add new way to detect tessdata dir 2024-10-17 15:50:11 +03:00
test_settings.py chore(imports): remove useless imports 2024-06-05 14:19:30 +02:00
test_util.py Run ruff format 2025-01-23 14:48:33 +01:00