aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtQml/qquickitem_grabToImage.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtQml/qquickitem_grabToImage.py')
-rw-r--r--sources/pyside2/tests/QtQml/qquickitem_grabToImage.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtQml/qquickitem_grabToImage.py b/sources/pyside2/tests/QtQml/qquickitem_grabToImage.py
index 19b982c67..6735d5230 100644
--- a/sources/pyside2/tests/QtQml/qquickitem_grabToImage.py
+++ b/sources/pyside2/tests/QtQml/qquickitem_grabToImage.py
@@ -26,8 +26,17 @@
##
#############################################################################
+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 import QtCore, QtGui, QtQuick
class TestGrabToSharedPointerImage(TimedQApplication):