dangerzone/tests
Alex Pyrgiotis fdc53efc35
tests: Test our own custom QApplication
By default, `pytest-qt` initializes the default QApplication class that
PySide offers. Dangerzone, however, defines its own QApplication
subclass.

Create a `qapp_cls` fixture that will force `pytest-qt` to use this
subclass. For more info, see:
https://pytest-qt.readthedocs.io/en/latest/qapplication.html#testing-custom-qapplications
2023-07-28 12:18:58 +03:00
..
gui updater: Differentiate between "X" and "Cancel" 2023-07-28 11:50:44 +03:00
test_docs tests: Add sample files for extra MIME types 2023-04-03 18:58:56 +03:00
__init__.py Pass sample_pdf as fixture instead of via class 2023-07-25 15:00:32 +01: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 tests: Run Mypy against tests 2022-10-25 19:09:23 +03:00