aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets')
-rw-r--r--sources/pyside2/tests/QtWidgets/action_clear.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/add_action_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/api2_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_1002.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_1006.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_363.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_389.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_400.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_416.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_467.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_512.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_688.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_696.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_722.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_750.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_778.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_811.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_854.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_860.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_871.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_919.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_921.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_972.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/customproxywidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/event_filter_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/grandparent_method_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/hashabletype_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/keep_reference_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/paint_event_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/parent_method_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qabstracttextdocumentlayout_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qaction_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qbrush_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qcolormap_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qdynamic_signal.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qfontdialog_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qformlayout_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qgraphicsitem_isblocked_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qgraphicsitem_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qgraphicsobjectreimpl_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qgraphicsproxywidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qgraphicsscene_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qimage_test.py3
-rw-r--r--sources/pyside2/tests/QtWidgets/qinputdialog_get_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qkeysequenceedit_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qlabel_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qlayout_ref_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qlayout_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qlistwidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qlistwidgetitem_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qmainwindow_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qmenu_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qmenuadd_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qobject_mi_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qpen_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qpicture_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qpixmap_constructor.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qpushbutton_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qsplitter_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qstring_qkeysequence_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qstyle_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtableview_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtabwidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtabwidgetclear_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtextedit_signal_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtextedit_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtoolbar_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtoolbox_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtreeview_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qtreewidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qvariant_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qwidget_setlayout_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/qwidget_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/reference_count_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/standardpixmap_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/virtual_protected_inheritance_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/virtual_pure_override_test.py2
-rw-r--r--sources/pyside2/tests/QtWidgets/wrong_return_test.py2
79 files changed, 80 insertions, 79 deletions
diff --git a/sources/pyside2/tests/QtWidgets/action_clear.py b/sources/pyside2/tests/QtWidgets/action_clear.py
index 2e9c8c720..b8a6ad590 100644
--- a/sources/pyside2/tests/QtWidgets/action_clear.py
+++ b/sources/pyside2/tests/QtWidgets/action_clear.py
@@ -34,7 +34,7 @@ import weakref
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QMenu, QWidget, QMenuBar, QToolBar
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class TestQActionLifeCycle(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/add_action_test.py b/sources/pyside2/tests/QtWidgets/add_action_test.py
index 9fdeccd27..1dbc5d549 100644
--- a/sources/pyside2/tests/QtWidgets/add_action_test.py
+++ b/sources/pyside2/tests/QtWidgets/add_action_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import SLOT
from PySide2.QtWidgets import QMenuBar, QAction, QPushButton
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class AddActionTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/api2_test.py b/sources/pyside2/tests/QtWidgets/api2_test.py
index 27fdbcdda..151ebb9fc 100644
--- a/sources/pyside2/tests/QtWidgets/api2_test.py
+++ b/sources/pyside2/tests/QtWidgets/api2_test.py
@@ -40,7 +40,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtGui import QIntValidator, QValidator
from PySide2.QtWidgets import QWidget, QSpinBox, QApplication
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class WidgetValidatorQInt(QWidget, QIntValidator):
def __init__(self, parent=None):
diff --git a/sources/pyside2/tests/QtWidgets/bug_1002.py b/sources/pyside2/tests/QtWidgets/bug_1002.py
index d05317dfd..c25209d2a 100644
--- a/sources/pyside2/tests/QtWidgets/bug_1002.py
+++ b/sources/pyside2/tests/QtWidgets/bug_1002.py
@@ -34,7 +34,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QWidget, QPushButton
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class TestBug1002 (UsesQApplication):
def testReturnWindow(self):
diff --git a/sources/pyside2/tests/QtWidgets/bug_1006.py b/sources/pyside2/tests/QtWidgets/bug_1006.py
index f8a85303f..8b7ab7802 100644
--- a/sources/pyside2/tests/QtWidgets/bug_1006.py
+++ b/sources/pyside2/tests/QtWidgets/bug_1006.py
@@ -36,7 +36,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import Qt
from PySide2.QtWidgets import QDialog, QLabel, QGridLayout, QHBoxLayout, QWidget
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
class LabelWindow(QDialog):
def __init__(self, parent):
diff --git a/sources/pyside2/tests/QtWidgets/bug_363.py b/sources/pyside2/tests/QtWidgets/bug_363.py
index 0e15eb5bd..a5abb4dbf 100644
--- a/sources/pyside2/tests/QtWidgets/bug_363.py
+++ b/sources/pyside2/tests/QtWidgets/bug_363.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2 import QtCore, QtWidgets
# Check for desktop object lifetime
diff --git a/sources/pyside2/tests/QtWidgets/bug_389.py b/sources/pyside2/tests/QtWidgets/bug_389.py
index ca4b01521..bd18705a6 100644
--- a/sources/pyside2/tests/QtWidgets/bug_389.py
+++ b/sources/pyside2/tests/QtWidgets/bug_389.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2 import QtCore, QtGui, QtWidgets
class BugTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/bug_400.py b/sources/pyside2/tests/QtWidgets/bug_400.py
index f696c9f8f..e98ce3d22 100644
--- a/sources/pyside2/tests/QtWidgets/bug_400.py
+++ b/sources/pyside2/tests/QtWidgets/bug_400.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QTreeWidgetItemIterator, QTreeWidgetItem, QTreeWidget
class BugTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/bug_416.py b/sources/pyside2/tests/QtWidgets/bug_416.py
index f15cff508..f88f3965b 100644
--- a/sources/pyside2/tests/QtWidgets/bug_416.py
+++ b/sources/pyside2/tests/QtWidgets/bug_416.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
from PySide2.QtCore import QSignalTransition, QState, Qt, QStateMachine
from PySide2.QtWidgets import QCheckBox
diff --git a/sources/pyside2/tests/QtWidgets/bug_467.py b/sources/pyside2/tests/QtWidgets/bug_467.py
index 2eb29e08e..d26b4424c 100644
--- a/sources/pyside2/tests/QtWidgets/bug_467.py
+++ b/sources/pyside2/tests/QtWidgets/bug_467.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QMainWindow, QApplication
class MyWidget(QMainWindow):
diff --git a/sources/pyside2/tests/QtWidgets/bug_512.py b/sources/pyside2/tests/QtWidgets/bug_512.py
index cb5f62b76..5d1cab9bb 100644
--- a/sources/pyside2/tests/QtWidgets/bug_512.py
+++ b/sources/pyside2/tests/QtWidgets/bug_512.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import *
from PySide2.QtWidgets import *
diff --git a/sources/pyside2/tests/QtWidgets/bug_688.py b/sources/pyside2/tests/QtWidgets/bug_688.py
index 32e6bf313..4627d8042 100644
--- a/sources/pyside2/tests/QtWidgets/bug_688.py
+++ b/sources/pyside2/tests/QtWidgets/bug_688.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtGui import QTextFrame, QTextCursor, QTextCharFormat, QFont, QTextFrameFormat
from PySide2.QtWidgets import QTextEdit
diff --git a/sources/pyside2/tests/QtWidgets/bug_696.py b/sources/pyside2/tests/QtWidgets/bug_696.py
index 51c10fc41..5af193ffc 100644
--- a/sources/pyside2/tests/QtWidgets/bug_696.py
+++ b/sources/pyside2/tests/QtWidgets/bug_696.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QMainWindow, QMenu, QApplication
class MainWindow(QMainWindow):
diff --git a/sources/pyside2/tests/QtWidgets/bug_722.py b/sources/pyside2/tests/QtWidgets/bug_722.py
index d465b84e3..1cdf7ff43 100644
--- a/sources/pyside2/tests/QtWidgets/bug_722.py
+++ b/sources/pyside2/tests/QtWidgets/bug_722.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QDoubleSpinBox, QGraphicsBlurEffect
diff --git a/sources/pyside2/tests/QtWidgets/bug_750.py b/sources/pyside2/tests/QtWidgets/bug_750.py
index e3a103d40..42b6c9843 100644
--- a/sources/pyside2/tests/QtWidgets/bug_750.py
+++ b/sources/pyside2/tests/QtWidgets/bug_750.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import QTimer
from PySide2.QtGui import QPainter, QFont, QFontInfo
diff --git a/sources/pyside2/tests/QtWidgets/bug_778.py b/sources/pyside2/tests/QtWidgets/bug_778.py
index b99cc2bd1..c5615b06f 100644
--- a/sources/pyside2/tests/QtWidgets/bug_778.py
+++ b/sources/pyside2/tests/QtWidgets/bug_778.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QTreeWidget, QTreeWidgetItem, QTreeWidgetItemIterator
diff --git a/sources/pyside2/tests/QtWidgets/bug_811.py b/sources/pyside2/tests/QtWidgets/bug_811.py
index b02059836..aa0ebfae5 100644
--- a/sources/pyside2/tests/QtWidgets/bug_811.py
+++ b/sources/pyside2/tests/QtWidgets/bug_811.py
@@ -33,7 +33,7 @@ import weakref
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtGui import QTextBlockUserData, QTextCursor
from PySide2.QtWidgets import QTextEdit
diff --git a/sources/pyside2/tests/QtWidgets/bug_854.py b/sources/pyside2/tests/QtWidgets/bug_854.py
index 7b1904914..60d843b64 100644
--- a/sources/pyside2/tests/QtWidgets/bug_854.py
+++ b/sources/pyside2/tests/QtWidgets/bug_854.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QTableView, QVBoxLayout, QApplication
from PySide2.QtCore import QAbstractItemModel
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class VirtualList(QAbstractItemModel):
diff --git a/sources/pyside2/tests/QtWidgets/bug_860.py b/sources/pyside2/tests/QtWidgets/bug_860.py
index 191d1c06c..7440b2613 100644
--- a/sources/pyside2/tests/QtWidgets/bug_860.py
+++ b/sources/pyside2/tests/QtWidgets/bug_860.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QSignalMapper
from PySide2.QtWidgets import QCheckBox
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MultipleSlotTest(UsesQApplication):
def cb_changed(self, i):
diff --git a/sources/pyside2/tests/QtWidgets/bug_871.py b/sources/pyside2/tests/QtWidgets/bug_871.py
index b224d02f3..a3759cb97 100644
--- a/sources/pyside2/tests/QtWidgets/bug_871.py
+++ b/sources/pyside2/tests/QtWidgets/bug_871.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtGui import QValidator, QIntValidator
from PySide2.QtWidgets import QLineEdit
diff --git a/sources/pyside2/tests/QtWidgets/bug_919.py b/sources/pyside2/tests/QtWidgets/bug_919.py
index 737ce3a92..4ef133fa3 100644
--- a/sources/pyside2/tests/QtWidgets/bug_919.py
+++ b/sources/pyside2/tests/QtWidgets/bug_919.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
from PySide2.QtCore import Signal, QTimer
from PySide2.QtGui import QPainter
from PySide2.QtWidgets import QPushButton, QStyleOptionButton, QApplication, QStyle
diff --git a/sources/pyside2/tests/QtWidgets/bug_921.py b/sources/pyside2/tests/QtWidgets/bug_921.py
index b70d9f428..9380a08f1 100644
--- a/sources/pyside2/tests/QtWidgets/bug_921.py
+++ b/sources/pyside2/tests/QtWidgets/bug_921.py
@@ -36,7 +36,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2 import QtCore, QtWidgets
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
class Signaller(QtCore.QObject):
s1 = QtCore.Signal()
diff --git a/sources/pyside2/tests/QtWidgets/bug_972.py b/sources/pyside2/tests/QtWidgets/bug_972.py
index f77c7d5ca..a5299eebc 100644
--- a/sources/pyside2/tests/QtWidgets/bug_972.py
+++ b/sources/pyside2/tests/QtWidgets/bug_972.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QSizeF
from PySide2.QtWidgets import QGraphicsProxyWidget, QSizePolicy, QPushButton, QGraphicsScene, QGraphicsView
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
def createItem(minimum, preferred, maximum, name):
w = QGraphicsProxyWidget()
diff --git a/sources/pyside2/tests/QtWidgets/customproxywidget_test.py b/sources/pyside2/tests/QtWidgets/customproxywidget_test.py
index 7446a45f5..051f31a71 100644
--- a/sources/pyside2/tests/QtWidgets/customproxywidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/customproxywidget_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import Qt, QTimer
from PySide2.QtGui import QPainter
from PySide2.QtWidgets import QLabel
diff --git a/sources/pyside2/tests/QtWidgets/event_filter_test.py b/sources/pyside2/tests/QtWidgets/event_filter_test.py
index 104631235..a367c0349 100644
--- a/sources/pyside2/tests/QtWidgets/event_filter_test.py
+++ b/sources/pyside2/tests/QtWidgets/event_filter_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import QObject, QEvent
from PySide2.QtWidgets import QWidget
diff --git a/sources/pyside2/tests/QtWidgets/grandparent_method_test.py b/sources/pyside2/tests/QtWidgets/grandparent_method_test.py
index e9f1c62f6..6e64a047b 100644
--- a/sources/pyside2/tests/QtWidgets/grandparent_method_test.py
+++ b/sources/pyside2/tests/QtWidgets/grandparent_method_test.py
@@ -36,7 +36,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QPushButton, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Dummy(QPushButton):
diff --git a/sources/pyside2/tests/QtWidgets/hashabletype_test.py b/sources/pyside2/tests/QtWidgets/hashabletype_test.py
index 9deeef101..356afd8b9 100644
--- a/sources/pyside2/tests/QtWidgets/hashabletype_test.py
+++ b/sources/pyside2/tests/QtWidgets/hashabletype_test.py
@@ -35,7 +35,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QTreeWidgetItem
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class HashableTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/keep_reference_test.py b/sources/pyside2/tests/QtWidgets/keep_reference_test.py
index ef32e198e..c250da24b 100644
--- a/sources/pyside2/tests/QtWidgets/keep_reference_test.py
+++ b/sources/pyside2/tests/QtWidgets/keep_reference_test.py
@@ -35,7 +35,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from sys import getrefcount
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import *
from PySide2.QtWidgets import QTableView
diff --git a/sources/pyside2/tests/QtWidgets/paint_event_test.py b/sources/pyside2/tests/QtWidgets/paint_event_test.py
index 419b17b1e..1b715ce27 100644
--- a/sources/pyside2/tests/QtWidgets/paint_event_test.py
+++ b/sources/pyside2/tests/QtWidgets/paint_event_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QTimerEvent
from PySide2.QtWidgets import QApplication, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MyWidget(QWidget):
'''Sample widget'''
diff --git a/sources/pyside2/tests/QtWidgets/parent_method_test.py b/sources/pyside2/tests/QtWidgets/parent_method_test.py
index 6fcf4b807..2f00a72d1 100644
--- a/sources/pyside2/tests/QtWidgets/parent_method_test.py
+++ b/sources/pyside2/tests/QtWidgets/parent_method_test.py
@@ -39,7 +39,7 @@ class Foo(QTableView):
def __init__(self, parent=None):
QTableView.__init__(self, parent)
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class TestParentType(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qabstracttextdocumentlayout_test.py b/sources/pyside2/tests/QtWidgets/qabstracttextdocumentlayout_test.py
index 484e545c3..c08c9e95b 100644
--- a/sources/pyside2/tests/QtWidgets/qabstracttextdocumentlayout_test.py
+++ b/sources/pyside2/tests/QtWidgets/qabstracttextdocumentlayout_test.py
@@ -37,7 +37,7 @@ import py3kcompat as py3k
from PySide2.QtCore import QSizeF, QTimer
from PySide2.QtGui import QTextFormat, QTextCharFormat, QPyTextObject
from PySide2.QtWidgets import QTextEdit
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Foo(QPyTextObject):
called = False
diff --git a/sources/pyside2/tests/QtWidgets/qaction_test.py b/sources/pyside2/tests/QtWidgets/qaction_test.py
index 80fefa5b6..7ee74fffa 100644
--- a/sources/pyside2/tests/QtWidgets/qaction_test.py
+++ b/sources/pyside2/tests/QtWidgets/qaction_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QAction, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QPainterDrawText(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qbrush_test.py b/sources/pyside2/tests/QtWidgets/qbrush_test.py
index 57d7b048c..78f32c7bc 100644
--- a/sources/pyside2/tests/QtWidgets/qbrush_test.py
+++ b/sources/pyside2/tests/QtWidgets/qbrush_test.py
@@ -38,7 +38,7 @@ from PySide2.QtCore import Qt
from PySide2.QtGui import QColor, QBrush
from PySide2.QtWidgets import QApplication
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Constructor(UsesQApplication):
'''Test case for constructor of QBrush'''
diff --git a/sources/pyside2/tests/QtWidgets/qcolormap_test.py b/sources/pyside2/tests/QtWidgets/qcolormap_test.py
index d3e0bf4d9..6166b32fb 100644
--- a/sources/pyside2/tests/QtWidgets/qcolormap_test.py
+++ b/sources/pyside2/tests/QtWidgets/qcolormap_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QColormap
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QColormapTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qdynamic_signal.py b/sources/pyside2/tests/QtWidgets/qdynamic_signal.py
index f5a34f591..3b14ab3fb 100644
--- a/sources/pyside2/tests/QtWidgets/qdynamic_signal.py
+++ b/sources/pyside2/tests/QtWidgets/qdynamic_signal.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QObject
from PySide2.QtWidgets import QInputDialog
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class DynamicSignalTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qfontdialog_test.py b/sources/pyside2/tests/QtWidgets/qfontdialog_test.py
index ec28beab3..97fe9d797 100644
--- a/sources/pyside2/tests/QtWidgets/qfontdialog_test.py
+++ b/sources/pyside2/tests/QtWidgets/qfontdialog_test.py
@@ -36,7 +36,7 @@ from PySide2 import QtCore
from PySide2 import QtGui
from PySide2 import QtWidgets
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
class TestFontDialog(TimedQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qformlayout_test.py b/sources/pyside2/tests/QtWidgets/qformlayout_test.py
index ee1c89106..0b38f675d 100644
--- a/sources/pyside2/tests/QtWidgets/qformlayout_test.py
+++ b/sources/pyside2/tests/QtWidgets/qformlayout_test.py
@@ -34,7 +34,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QFormLayout, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QFormLayoutTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qgraphicsitem_isblocked_test.py b/sources/pyside2/tests/QtWidgets/qgraphicsitem_isblocked_test.py
index 1de8eb1f1..524ca6fa8 100644
--- a/sources/pyside2/tests/QtWidgets/qgraphicsitem_isblocked_test.py
+++ b/sources/pyside2/tests/QtWidgets/qgraphicsitem_isblocked_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2 import QtCore
from PySide2 import QtGui
from PySide2 import QtWidgets
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Item(QtWidgets.QGraphicsItem):
diff --git a/sources/pyside2/tests/QtWidgets/qgraphicsitem_test.py b/sources/pyside2/tests/QtWidgets/qgraphicsitem_test.py
index 53f48c9f5..8787b6178 100644
--- a/sources/pyside2/tests/QtWidgets/qgraphicsitem_test.py
+++ b/sources/pyside2/tests/QtWidgets/qgraphicsitem_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtGui import QPolygonF, QColor, QBrush
from PySide2.QtWidgets import QGraphicsScene
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QColorOnSetBrush(UsesQApplication):
'''Test case for passing a QColor directly to setBrush'''
diff --git a/sources/pyside2/tests/QtWidgets/qgraphicsobjectreimpl_test.py b/sources/pyside2/tests/QtWidgets/qgraphicsobjectreimpl_test.py
index cbdb3a2ea..11825e42e 100644
--- a/sources/pyside2/tests/QtWidgets/qgraphicsobjectreimpl_test.py
+++ b/sources/pyside2/tests/QtWidgets/qgraphicsobjectreimpl_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QGraphicsObject, QGraphicsWidget
from PySide2.QtCore import QRectF
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class GObjA(QGraphicsObject):
def paint(self, *args):
diff --git a/sources/pyside2/tests/QtWidgets/qgraphicsproxywidget_test.py b/sources/pyside2/tests/QtWidgets/qgraphicsproxywidget_test.py
index b31a272ec..59796142d 100644
--- a/sources/pyside2/tests/QtWidgets/qgraphicsproxywidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/qgraphicsproxywidget_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import Qt, QTimer
from PySide2.QtGui import QPainter
from PySide2.QtWidgets import QLabel
diff --git a/sources/pyside2/tests/QtWidgets/qgraphicsscene_test.py b/sources/pyside2/tests/QtWidgets/qgraphicsscene_test.py
index 40c7abd4e..8c521369d 100644
--- a/sources/pyside2/tests/QtWidgets/qgraphicsscene_test.py
+++ b/sources/pyside2/tests/QtWidgets/qgraphicsscene_test.py
@@ -45,7 +45,7 @@ from PySide2.QtWidgets import QGraphicsPolygonItem, QGraphicsRectItem
from PySide2.QtWidgets import QGraphicsSimpleTextItem, QGraphicsTextItem
from PySide2.QtWidgets import QGraphicsProxyWidget, QGraphicsView
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Constructor(unittest.TestCase):
'''QGraphicsScene constructor'''
diff --git a/sources/pyside2/tests/QtWidgets/qimage_test.py b/sources/pyside2/tests/QtWidgets/qimage_test.py
index c79f049cf..51f4fcd57 100644
--- a/sources/pyside2/tests/QtWidgets/qimage_test.py
+++ b/sources/pyside2/tests/QtWidgets/qimage_test.py
@@ -37,7 +37,8 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
import py3kcompat as py3k
from PySide2.QtGui import *
from PySide2.QtWidgets import *
-from helper import UsesQApplication, adjust_filename
+from helper.helper import adjust_filename
+from helper.usesqapplication import UsesQApplication
xpm = [
"27 22 206 2",
diff --git a/sources/pyside2/tests/QtWidgets/qinputdialog_get_test.py b/sources/pyside2/tests/QtWidgets/qinputdialog_get_test.py
index 79486882f..69d1613b6 100644
--- a/sources/pyside2/tests/QtWidgets/qinputdialog_get_test.py
+++ b/sources/pyside2/tests/QtWidgets/qinputdialog_get_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2 import QtCore, QtWidgets
-from helper import UsesQApplication, TimedQApplication
+from helper.timedqapplication import TimedQApplication
class TestInputDialog(TimedQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qkeysequenceedit_test.py b/sources/pyside2/tests/QtWidgets/qkeysequenceedit_test.py
index 803d77eca..d85d20aa2 100644
--- a/sources/pyside2/tests/QtWidgets/qkeysequenceedit_test.py
+++ b/sources/pyside2/tests/QtWidgets/qkeysequenceedit_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QTimer
from PySide2.QtWidgets import QKeySequenceEdit
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QKeySequenceEditTest(UsesQApplication):
def testKeySequence(self):
diff --git a/sources/pyside2/tests/QtWidgets/qlabel_test.py b/sources/pyside2/tests/QtWidgets/qlabel_test.py
index 9d84b5c17..c8e8e2619 100644
--- a/sources/pyside2/tests/QtWidgets/qlabel_test.py
+++ b/sources/pyside2/tests/QtWidgets/qlabel_test.py
@@ -34,7 +34,7 @@ from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QLabel
import shiboken2 as shiboken
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QLabelTest(UsesQApplication):
'''Test case for calling QLabel.setPixmap'''
diff --git a/sources/pyside2/tests/QtWidgets/qlayout_ref_test.py b/sources/pyside2/tests/QtWidgets/qlayout_ref_test.py
index 79595693f..09b808794 100644
--- a/sources/pyside2/tests/QtWidgets/qlayout_ref_test.py
+++ b/sources/pyside2/tests/QtWidgets/qlayout_ref_test.py
@@ -39,7 +39,7 @@ from PySide2.QtWidgets import QHBoxLayout, QVBoxLayout, QGridLayout, QWidget
from PySide2.QtWidgets import QStackedLayout, QFormLayout
from PySide2.QtWidgets import QApplication, QPushButton, QLabel
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class SaveReference(UsesQApplication):
'''Test case to check if QLayout-derived classes increment the refcount
diff --git a/sources/pyside2/tests/QtWidgets/qlayout_test.py b/sources/pyside2/tests/QtWidgets/qlayout_test.py
index 694696ceb..8077e3bd3 100644
--- a/sources/pyside2/tests/QtWidgets/qlayout_test.py
+++ b/sources/pyside2/tests/QtWidgets/qlayout_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import *
from PySide2.QtWidgets import *
diff --git a/sources/pyside2/tests/QtWidgets/qlistwidget_test.py b/sources/pyside2/tests/QtWidgets/qlistwidget_test.py
index c0ece9048..6fab3fb34 100644
--- a/sources/pyside2/tests/QtWidgets/qlistwidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/qlistwidget_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2 import QtWidgets, QtCore
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QListWidgetTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qlistwidgetitem_test.py b/sources/pyside2/tests/QtWidgets/qlistwidgetitem_test.py
index e6b2577c1..2da159bce 100644
--- a/sources/pyside2/tests/QtWidgets/qlistwidgetitem_test.py
+++ b/sources/pyside2/tests/QtWidgets/qlistwidgetitem_test.py
@@ -34,7 +34,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2 import QtWidgets
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QListWidgetItemConstructor(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qmainwindow_test.py b/sources/pyside2/tests/QtWidgets/qmainwindow_test.py
index 64a89f905..50c992f1a 100644
--- a/sources/pyside2/tests/QtWidgets/qmainwindow_test.py
+++ b/sources/pyside2/tests/QtWidgets/qmainwindow_test.py
@@ -36,7 +36,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2 import QtWidgets
from PySide2 import QtCore
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MainWindow(QtWidgets.QMainWindow):
def __init__(self):
diff --git a/sources/pyside2/tests/QtWidgets/qmenu_test.py b/sources/pyside2/tests/QtWidgets/qmenu_test.py
index 9cd2fc9e8..c1d03393c 100644
--- a/sources/pyside2/tests/QtWidgets/qmenu_test.py
+++ b/sources/pyside2/tests/QtWidgets/qmenu_test.py
@@ -36,7 +36,7 @@ from PySide2.QtWidgets import QMenu
from PySide2.QtGui import QKeySequence, QIcon
from PySide2.QtCore import SLOT
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QMenuAddAction(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qmenuadd_test.py b/sources/pyside2/tests/QtWidgets/qmenuadd_test.py
index 1be14d796..c2881b206 100644
--- a/sources/pyside2/tests/QtWidgets/qmenuadd_test.py
+++ b/sources/pyside2/tests/QtWidgets/qmenuadd_test.py
@@ -38,7 +38,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2 import QtWidgets
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QMenuAddAction(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qobject_mi_test.py b/sources/pyside2/tests/QtWidgets/qobject_mi_test.py
index be95cab85..032229e4e 100644
--- a/sources/pyside2/tests/QtWidgets/qobject_mi_test.py
+++ b/sources/pyside2/tests/QtWidgets/qobject_mi_test.py
@@ -40,7 +40,7 @@ from PySide2.QtCore import QObject
from PySide2.QtGui import *
from PySide2.QtWidgets import *
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class WidgetValidator(QWidget, QIntValidator):
def __init__(self, parent=None):
diff --git a/sources/pyside2/tests/QtWidgets/qpen_test.py b/sources/pyside2/tests/QtWidgets/qpen_test.py
index fdcdc60ca..9469cb10c 100644
--- a/sources/pyside2/tests/QtWidgets/qpen_test.py
+++ b/sources/pyside2/tests/QtWidgets/qpen_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import Qt, QTimer
from PySide2.QtGui import QPen, QPainter
diff --git a/sources/pyside2/tests/QtWidgets/qpicture_test.py b/sources/pyside2/tests/QtWidgets/qpicture_test.py
index 3a2a5439b..002be64e5 100644
--- a/sources/pyside2/tests/QtWidgets/qpicture_test.py
+++ b/sources/pyside2/tests/QtWidgets/qpicture_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import QTimer
from PySide2.QtGui import QPicture, QPainter
from PySide2.QtWidgets import QWidget
diff --git a/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py b/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
index 32eea87c9..7e44e92b1 100644
--- a/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
+++ b/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QLabel
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
xpm = [
"27 22 206 2",
diff --git a/sources/pyside2/tests/QtWidgets/qpushbutton_test.py b/sources/pyside2/tests/QtWidgets/qpushbutton_test.py
index 632312df9..7fb17d922 100644
--- a/sources/pyside2/tests/QtWidgets/qpushbutton_test.py
+++ b/sources/pyside2/tests/QtWidgets/qpushbutton_test.py
@@ -32,7 +32,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtWidgets import QPushButton, QMenu, QWidget
from PySide2.QtCore import QTimer
diff --git a/sources/pyside2/tests/QtWidgets/qsplitter_test.py b/sources/pyside2/tests/QtWidgets/qsplitter_test.py
index b42747f66..2c792a63f 100644
--- a/sources/pyside2/tests/QtWidgets/qsplitter_test.py
+++ b/sources/pyside2/tests/QtWidgets/qsplitter_test.py
@@ -34,7 +34,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QSplitter
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QSplitterTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py b/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
index cef918156..5b41af467 100644
--- a/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
+++ b/sources/pyside2/tests/QtWidgets/qstandarditemmodel_test.py
@@ -36,7 +36,7 @@ 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):
diff --git a/sources/pyside2/tests/QtWidgets/qstring_qkeysequence_test.py b/sources/pyside2/tests/QtWidgets/qstring_qkeysequence_test.py
index 6a83c5c46..80eba412c 100644
--- a/sources/pyside2/tests/QtWidgets/qstring_qkeysequence_test.py
+++ b/sources/pyside2/tests/QtWidgets/qstring_qkeysequence_test.py
@@ -38,7 +38,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
import py3kcompat as py3k
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtGui import QKeySequence
from PySide2.QtWidgets import QAction
diff --git a/sources/pyside2/tests/QtWidgets/qstyle_test.py b/sources/pyside2/tests/QtWidgets/qstyle_test.py
index 5b29c824f..0452ca0fa 100644
--- a/sources/pyside2/tests/QtWidgets/qstyle_test.py
+++ b/sources/pyside2/tests/QtWidgets/qstyle_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtGui import QWindow
from PySide2.QtWidgets import (QApplication, QFontComboBox, QLabel, QProxyStyle,
diff --git a/sources/pyside2/tests/QtWidgets/qtableview_test.py b/sources/pyside2/tests/QtWidgets/qtableview_test.py
index a9a0f3260..e97c5567c 100644
--- a/sources/pyside2/tests/QtWidgets/qtableview_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtableview_test.py
@@ -34,7 +34,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QAbstractTableModel
from PySide2.QtWidgets import QTableWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QPenTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qtabwidget_test.py b/sources/pyside2/tests/QtWidgets/qtabwidget_test.py
index 69700d451..5b2ebbdea 100644
--- a/sources/pyside2/tests/QtWidgets/qtabwidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtabwidget_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import *
-from helper import TimedQApplication
+from helper.timedqapplication import TimedQApplication
def makeBug643(tab):
button = QPushButton('Foo')
diff --git a/sources/pyside2/tests/QtWidgets/qtabwidgetclear_test.py b/sources/pyside2/tests/QtWidgets/qtabwidgetclear_test.py
index 65d7517a6..75e0e4dab 100644
--- a/sources/pyside2/tests/QtWidgets/qtabwidgetclear_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtabwidgetclear_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QMainWindow, QTabWidget, QTextEdit, QSplitter
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class TabWidgetClear(QMainWindow):
def __init__(self):
diff --git a/sources/pyside2/tests/QtWidgets/qtextedit_signal_test.py b/sources/pyside2/tests/QtWidgets/qtextedit_signal_test.py
index c3cc154bb..aa10fb9d0 100644
--- a/sources/pyside2/tests/QtWidgets/qtextedit_signal_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtextedit_signal_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2 import QtCore, QtWidgets
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MyWindow(QtWidgets.QMainWindow):
diff --git a/sources/pyside2/tests/QtWidgets/qtextedit_test.py b/sources/pyside2/tests/QtWidgets/qtextedit_test.py
index ddf0706a3..d809ebfc6 100644
--- a/sources/pyside2/tests/QtWidgets/qtextedit_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtextedit_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QTextEdit
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class DontTouchReference(UsesQApplication):
'''Check if the QTextTable returned by QTextCursor.insertTable() is not
diff --git a/sources/pyside2/tests/QtWidgets/qtoolbar_test.py b/sources/pyside2/tests/QtWidgets/qtoolbar_test.py
index ab6351e24..956c72ee3 100644
--- a/sources/pyside2/tests/QtWidgets/qtoolbar_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtoolbar_test.py
@@ -36,7 +36,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QToolBar, QMainWindow, QAction
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class AddActionText(UsesQApplication):
'''Test case for calling QToolbar.addAction passing a text'''
diff --git a/sources/pyside2/tests/QtWidgets/qtoolbox_test.py b/sources/pyside2/tests/QtWidgets/qtoolbox_test.py
index 04509a59a..e9cf086a6 100644
--- a/sources/pyside2/tests/QtWidgets/qtoolbox_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtoolbox_test.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtGui import QIcon
from PySide2.QtWidgets import QToolBox, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class OwnershipControl(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qtreeview_test.py b/sources/pyside2/tests/QtWidgets/qtreeview_test.py
index 4434895f8..6673d36b9 100644
--- a/sources/pyside2/tests/QtWidgets/qtreeview_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtreeview_test.py
@@ -36,7 +36,7 @@ from PySide2.QtGui import QStandardItemModel
from PySide2.QtWidgets import (QWidget, QTreeView, QVBoxLayout,
QStyledItemDelegate, QHeaderView)
from PySide2.QtCore import Qt
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Widget(QWidget):
def __init__(self, parent=None):
diff --git a/sources/pyside2/tests/QtWidgets/qtreewidget_test.py b/sources/pyside2/tests/QtWidgets/qtreewidget_test.py
index 8dbecefe2..ec3724f6c 100644
--- a/sources/pyside2/tests/QtWidgets/qtreewidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/qtreewidget_test.py
@@ -33,7 +33,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QTreeWidget, QTreeWidgetItem, QPushButton
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QTreeWidgetTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qvariant_test.py b/sources/pyside2/tests/QtWidgets/qvariant_test.py
index 1e9d3d719..8a9bf152f 100644
--- a/sources/pyside2/tests/QtWidgets/qvariant_test.py
+++ b/sources/pyside2/tests/QtWidgets/qvariant_test.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import (QApplication, QComboBox, QGraphicsScene,
QGraphicsRectItem)
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MyDiagram(QGraphicsScene):
pass
diff --git a/sources/pyside2/tests/QtWidgets/qwidget_setlayout_test.py b/sources/pyside2/tests/QtWidgets/qwidget_setlayout_test.py
index b3f5460ac..f06ebb74f 100644
--- a/sources/pyside2/tests/QtWidgets/qwidget_setlayout_test.py
+++ b/sources/pyside2/tests/QtWidgets/qwidget_setlayout_test.py
@@ -35,7 +35,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QWidget, QVBoxLayout, QPushButton, QApplication, QHBoxLayout
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QWidgetTest(UsesQApplication):
diff --git a/sources/pyside2/tests/QtWidgets/qwidget_test.py b/sources/pyside2/tests/QtWidgets/qwidget_test.py
index b7e307df9..ed6a0226e 100644
--- a/sources/pyside2/tests/QtWidgets/qwidget_test.py
+++ b/sources/pyside2/tests/QtWidgets/qwidget_test.py
@@ -34,7 +34,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtWidgets import QWidget, QMainWindow
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class QWidgetInherit(QMainWindow):
def __init__(self):
diff --git a/sources/pyside2/tests/QtWidgets/reference_count_test.py b/sources/pyside2/tests/QtWidgets/reference_count_test.py
index 188ceba09..7b5412353 100644
--- a/sources/pyside2/tests/QtWidgets/reference_count_test.py
+++ b/sources/pyside2/tests/QtWidgets/reference_count_test.py
@@ -40,7 +40,7 @@ from PySide2.QtCore import Qt, QPointF
from PySide2.QtGui import QPolygonF
from PySide2.QtWidgets import QApplication, QGraphicsScene, QGraphicsRectItem, QGraphicsPolygonItem, QGraphicsRectItem
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
destroyedRect = False
destroyedPol = False
diff --git a/sources/pyside2/tests/QtWidgets/standardpixmap_test.py b/sources/pyside2/tests/QtWidgets/standardpixmap_test.py
index 21bc4cebe..c907c8209 100644
--- a/sources/pyside2/tests/QtWidgets/standardpixmap_test.py
+++ b/sources/pyside2/tests/QtWidgets/standardpixmap_test.py
@@ -35,7 +35,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QStyle
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class StandardPixmapTest(UsesQApplication):
def testDefaultOptions(self): # Bug 253
diff --git a/sources/pyside2/tests/QtWidgets/virtual_protected_inheritance_test.py b/sources/pyside2/tests/QtWidgets/virtual_protected_inheritance_test.py
index 6c8336513..56580fc1e 100644
--- a/sources/pyside2/tests/QtWidgets/virtual_protected_inheritance_test.py
+++ b/sources/pyside2/tests/QtWidgets/virtual_protected_inheritance_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QTimerEvent
from PySide2.QtWidgets import QApplication, QSpinBox
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class MySpinButton(QSpinBox):
'''Simple example class of overriding QObject.timerEvent'''
diff --git a/sources/pyside2/tests/QtWidgets/virtual_pure_override_test.py b/sources/pyside2/tests/QtWidgets/virtual_pure_override_test.py
index 7695cf700..4ee56152e 100644
--- a/sources/pyside2/tests/QtWidgets/virtual_pure_override_test.py
+++ b/sources/pyside2/tests/QtWidgets/virtual_pure_override_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtWidgets import QGraphicsScene, QGraphicsRectItem, QGraphicsView, QApplication
from PySide2.QtGui import QBrush, QColor
from PySide2.QtCore import QTimer
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
qgraphics_item_painted = False
diff --git a/sources/pyside2/tests/QtWidgets/wrong_return_test.py b/sources/pyside2/tests/QtWidgets/wrong_return_test.py
index 7a89520f8..8fad3d627 100644
--- a/sources/pyside2/tests/QtWidgets/wrong_return_test.py
+++ b/sources/pyside2/tests/QtWidgets/wrong_return_test.py
@@ -37,7 +37,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
import py3kcompat as py3k
from PySide2 import QtWidgets
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
warnings.simplefilter('error')