aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtQml/bug_814.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtQml/bug_814.py')
-rw-r--r--sources/pyside2/tests/QtQml/bug_814.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtQml/bug_814.py b/sources/pyside2/tests/QtQml/bug_814.py
index 31eada2df..c6f0b8441 100644
--- a/sources/pyside2/tests/QtQml/bug_814.py
+++ b/sources/pyside2/tests/QtQml/bug_814.py
@@ -37,9 +37,16 @@
# 2011-04-08 Thomas Perl <m@thp.io>
# Released under the same terms as PySide itself
+import os
+import sys
import unittest
-from helper import adjust_filename, TimedQApplication
+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 helper.helper import adjust_filename
+from helper.timedqapplication import TimedQApplication
from PySide2.QtCore import QUrl, QAbstractListModel, QModelIndex, Qt
from PySide2.QtQuick import QQuickView