aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtUiTools/bug_909.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtUiTools/bug_909.py')
-rw-r--r--sources/pyside2/tests/QtUiTools/bug_909.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtUiTools/bug_909.py b/sources/pyside2/tests/QtUiTools/bug_909.py
index c4185e11f..9831b6b0e 100644
--- a/sources/pyside2/tests/QtUiTools/bug_909.py
+++ b/sources/pyside2/tests/QtUiTools/bug_909.py
@@ -26,15 +26,20 @@
##
#############################################################################
+import os
import sys
import unittest
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from init_paths import init_test_paths
+init_test_paths(False)
+
from PySide2.QtCore import QFile
from PySide2.QtWidgets import QTabWidget
from PySide2.QtUiTools import QUiLoader
-from helper import UsesQApplication
-from helper import adjust_filename
+from helper.usesqapplication import UsesQApplication
+from helper.helper import adjust_filename
class TestDestruction(UsesQApplication):
def testBug909(self):