From f7903c2cd96ff73f40b0b019a49ec086fbcd61f5 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 6 Nov 2025 14:29:24 +1100 Subject: [PATCH] Tests --- tests.sh | 3 +++ tests/conftest.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 tests.sh diff --git a/tests.sh b/tests.sh new file mode 100644 index 0000000..7f50169 --- /dev/null +++ b/tests.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +poetry run pytest -vvvv --cov=bouquin --cov-report=term-missing --disable-warnings diff --git a/tests/conftest.py b/tests/conftest.py index 8d885e6..e949b1a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,7 +8,7 @@ from tests.qt_helpers import AutoResponder # Force Qt *non-native* file dialog so we can type a filename programmatically. os.environ.setdefault("QT_FILE_DIALOG_ALWAYS_USE_NATIVE", "0") # For CI headless runs, set QT_QPA_PLATFORM=offscreen in the CI env -# os.environ.setdefault("QT_QPA_PLATFORM", "offscreen") +os.environ.setdefault("QT_QPA_PLATFORM", "offscreen") # Make project importable