aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py b/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
index c07bd8705..f1c360b82 100644
--- a/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
+++ b/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
@@ -26,14 +26,19 @@
##
#############################################################################
-import unittest
+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.QtGui import QStandardItemModel, QStandardItem
from PySide2.QtWidgets import QWidget
import shiboken2 as shiboken
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QStandardItemModelTest(UsesQApplication):