diff options
Diffstat (limited to 'sources/pyside2/tests/QtQml/javascript_exceptions.py')
-rw-r--r-- | sources/pyside2/tests/QtQml/javascript_exceptions.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtQml/javascript_exceptions.py b/sources/pyside2/tests/QtQml/javascript_exceptions.py index 3e22a91c7..a5e6a4b43 100644 --- a/sources/pyside2/tests/QtQml/javascript_exceptions.py +++ b/sources/pyside2/tests/QtQml/javascript_exceptions.py @@ -26,9 +26,16 @@ ## ############################################################################# +import os +import sys import unittest -from helper import adjust_filename, UsesQApplication +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.usesqapplication import UsesQApplication from PySide2.QtCore import Slot, Property, Signal, QObject, QUrl from PySide2.QtQml import QJSEngine, qmlRegisterType |