mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Minor fixes + tests + getSupportURL().
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def pytest_configure():
|
||||
global app
|
||||
|
||||
os.add_dll_directory(Path(os.getenv("QT_ROOT")).joinpath("bin"))
|
||||
os.add_dll_directory(Path(os.getenv("UIBASE_PATH")).parent)
|
||||
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
Reference in New Issue
Block a user