aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/tests/python/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugin_python/tests/python/conftest.py')
-rw-r--r--libs/plugin_python/tests/python/conftest.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/plugin_python/tests/python/conftest.py b/libs/plugin_python/tests/python/conftest.py
new file mode 100644
index 0000000..99e7800
--- /dev/null
+++ b/libs/plugin_python/tests/python/conftest.py
@@ -0,0 +1,12 @@
+import os
+import sys
+
+from PyQt6.QtWidgets import QApplication
+
+
+def pytest_configure():
+ global app
+
+ os.add_dll_directory(str(os.getenv("UIBASE_PATH")))
+
+ app = QApplication(sys.argv)