aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/signals
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/signals')
-rw-r--r--sources/pyside2/tests/signals/bug_189.py2
-rw-r--r--sources/pyside2/tests/signals/bug_311.py2
-rw-r--r--sources/pyside2/tests/signals/bug_319.py2
-rw-r--r--sources/pyside2/tests/signals/lambda_gui_test.py2
-rw-r--r--sources/pyside2/tests/signals/lambda_test.py2
-rw-r--r--sources/pyside2/tests/signals/multiple_connections_gui_test.py3
-rw-r--r--sources/pyside2/tests/signals/multiple_connections_test.py3
-rw-r--r--sources/pyside2/tests/signals/pysignal_test.py2
-rw-r--r--sources/pyside2/tests/signals/qobject_sender_test.py2
-rw-r--r--sources/pyside2/tests/signals/ref02_test.py2
-rw-r--r--sources/pyside2/tests/signals/ref05_test.py2
-rw-r--r--sources/pyside2/tests/signals/ref06_test.py2
-rw-r--r--sources/pyside2/tests/signals/self_connect_test.py2
-rw-r--r--sources/pyside2/tests/signals/signal_emission_gui_test.py3
-rw-r--r--sources/pyside2/tests/signals/signal_emission_test.py3
-rw-r--r--sources/pyside2/tests/signals/signal_object_test.py2
-rw-r--r--sources/pyside2/tests/signals/signal_signature_test.py2
-rw-r--r--sources/pyside2/tests/signals/static_metaobject_test.py2
18 files changed, 22 insertions, 18 deletions
diff --git a/sources/pyside2/tests/signals/bug_189.py b/sources/pyside2/tests/signals/bug_189.py
index 113cb2485..a23658422 100644
--- a/sources/pyside2/tests/signals/bug_189.py
+++ b/sources/pyside2/tests/signals/bug_189.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 TestBugPYSIDE189(UsesQApplication):
diff --git a/sources/pyside2/tests/signals/bug_311.py b/sources/pyside2/tests/signals/bug_311.py
index 9f5e84dbf..36e022a55 100644
--- a/sources/pyside2/tests/signals/bug_311.py
+++ b/sources/pyside2/tests/signals/bug_311.py
@@ -36,7 +36,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2 import QtCore
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class DerivedDate(QtCore.QDate):
def __init__(self,y,m,d):
diff --git a/sources/pyside2/tests/signals/bug_319.py b/sources/pyside2/tests/signals/bug_319.py
index 7e8728e7a..f42add3cf 100644
--- a/sources/pyside2/tests/signals/bug_319.py
+++ b/sources/pyside2/tests/signals/bug_319.py
@@ -36,7 +36,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2 import QtCore
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class Listener(QtCore.QObject):
def __init__(self):
diff --git a/sources/pyside2/tests/signals/lambda_gui_test.py b/sources/pyside2/tests/signals/lambda_gui_test.py
index 0a0db9514..4f33addab 100644
--- a/sources/pyside2/tests/signals/lambda_gui_test.py
+++ b/sources/pyside2/tests/signals/lambda_gui_test.py
@@ -42,7 +42,7 @@ try:
except ImportError:
hasQtGui = False
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
if hasQtGui:
class Control:
diff --git a/sources/pyside2/tests/signals/lambda_test.py b/sources/pyside2/tests/signals/lambda_test.py
index 97d0c90fc..2a3f0139a 100644
--- a/sources/pyside2/tests/signals/lambda_test.py
+++ b/sources/pyside2/tests/signals/lambda_test.py
@@ -38,7 +38,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QObject, SIGNAL, QProcess
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class Dummy(QObject):
diff --git a/sources/pyside2/tests/signals/multiple_connections_gui_test.py b/sources/pyside2/tests/signals/multiple_connections_gui_test.py
index 45dbb6c94..d4104b5ce 100644
--- a/sources/pyside2/tests/signals/multiple_connections_gui_test.py
+++ b/sources/pyside2/tests/signals/multiple_connections_gui_test.py
@@ -42,7 +42,8 @@ try:
except ImportError:
hasQtGui = False
-from helper import BasicPySlotCase, UsesQApplication
+from helper.basicpyslotcase import BasicPySlotCase
+from helper.usesqapplication import UsesQApplication
class MultipleSignalConnections(unittest.TestCase):
'''Base class for multiple signal connection testing'''
diff --git a/sources/pyside2/tests/signals/multiple_connections_test.py b/sources/pyside2/tests/signals/multiple_connections_test.py
index 9c7e7c9da..8172596b1 100644
--- a/sources/pyside2/tests/signals/multiple_connections_test.py
+++ b/sources/pyside2/tests/signals/multiple_connections_test.py
@@ -35,7 +35,8 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QObject, SIGNAL, QProcess
-from helper import BasicPySlotCase, UsesQCoreApplication
+from helper.basicpyslotcase import BasicPySlotCase
+from helper.usesqcoreapplication import UsesQCoreApplication
class MultipleSignalConnections(unittest.TestCase):
diff --git a/sources/pyside2/tests/signals/pysignal_test.py b/sources/pyside2/tests/signals/pysignal_test.py
index 51d4f8368..bdb62b5bf 100644
--- a/sources/pyside2/tests/signals/pysignal_test.py
+++ b/sources/pyside2/tests/signals/pysignal_test.py
@@ -40,7 +40,7 @@ try:
except ImportError:
hasQtGui = False
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class Dummy(QObject):
"""Dummy class used in this test."""
diff --git a/sources/pyside2/tests/signals/qobject_sender_test.py b/sources/pyside2/tests/signals/qobject_sender_test.py
index 7aa98ced8..108054518 100644
--- a/sources/pyside2/tests/signals/qobject_sender_test.py
+++ b/sources/pyside2/tests/signals/qobject_sender_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"))
from PySide2.QtCore import *
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class ExtQTimer(QTimer):
def __init__(self):
diff --git a/sources/pyside2/tests/signals/ref02_test.py b/sources/pyside2/tests/signals/ref02_test.py
index ddd82e3c4..e7659246d 100644
--- a/sources/pyside2/tests/signals/ref02_test.py
+++ b/sources/pyside2/tests/signals/ref02_test.py
@@ -36,7 +36,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import QCoreApplication, QTimeLine
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class NativeSignalsTest(UsesQCoreApplication):
diff --git a/sources/pyside2/tests/signals/ref05_test.py b/sources/pyside2/tests/signals/ref05_test.py
index 173027a88..848bf89d6 100644
--- a/sources/pyside2/tests/signals/ref05_test.py
+++ b/sources/pyside2/tests/signals/ref05_test.py
@@ -36,7 +36,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import QObject, QCoreApplication, QTimeLine, Slot
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class ExtQObject(QObject):
diff --git a/sources/pyside2/tests/signals/ref06_test.py b/sources/pyside2/tests/signals/ref06_test.py
index 689dd8113..adba267b4 100644
--- a/sources/pyside2/tests/signals/ref06_test.py
+++ b/sources/pyside2/tests/signals/ref06_test.py
@@ -36,7 +36,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import QObject, QCoreApplication, QTimeLine, Signal, Slot
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class ExtQObject(QObject):
signalbetween = Signal('qreal')
diff --git a/sources/pyside2/tests/signals/self_connect_test.py b/sources/pyside2/tests/signals/self_connect_test.py
index 8620c10d6..61280474a 100644
--- a/sources/pyside2/tests/signals/self_connect_test.py
+++ b/sources/pyside2/tests/signals/self_connect_test.py
@@ -39,7 +39,7 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QObject, SIGNAL, SLOT
from PySide2.QtWidgets import QPushButton, QWidget
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
class SelfConnect(UsesQApplication):
diff --git a/sources/pyside2/tests/signals/signal_emission_gui_test.py b/sources/pyside2/tests/signals/signal_emission_gui_test.py
index 0a6255f8a..4b36336fb 100644
--- a/sources/pyside2/tests/signals/signal_emission_gui_test.py
+++ b/sources/pyside2/tests/signals/signal_emission_gui_test.py
@@ -44,7 +44,8 @@ try:
except ImportError:
hasQtGui = False
-from helper import BasicPySlotCase, UsesQApplication
+from helper.basicpyslotcase import BasicPySlotCase
+from helper.usesqapplication import UsesQApplication
if hasQtGui:
class ButtonPySlot(UsesQApplication, BasicPySlotCase):
diff --git a/sources/pyside2/tests/signals/signal_emission_test.py b/sources/pyside2/tests/signals/signal_emission_test.py
index 844bccc21..e45902abd 100644
--- a/sources/pyside2/tests/signals/signal_emission_test.py
+++ b/sources/pyside2/tests/signals/signal_emission_test.py
@@ -39,7 +39,8 @@ sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__f
from PySide2.QtCore import QObject, SIGNAL, SLOT, QProcess, QTimeLine
-from helper import BasicPySlotCase, UsesQCoreApplication
+from helper.basicpyslotcase import BasicPySlotCase
+from helper.usesqcoreapplication import UsesQCoreApplication
class ArgsOnEmptySignal(UsesQCoreApplication):
diff --git a/sources/pyside2/tests/signals/signal_object_test.py b/sources/pyside2/tests/signals/signal_object_test.py
index 75115b37c..76b859a4f 100644
--- a/sources/pyside2/tests/signals/signal_object_test.py
+++ b/sources/pyside2/tests/signals/signal_object_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.QtCore import QTimer, Signal, QObject, Slot, Qt
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class MyObject(QTimer):
sig1 = Signal()
diff --git a/sources/pyside2/tests/signals/signal_signature_test.py b/sources/pyside2/tests/signals/signal_signature_test.py
index 0cce9c2f1..da19862fe 100644
--- a/sources/pyside2/tests/signals/signal_signature_test.py
+++ b/sources/pyside2/tests/signals/signal_signature_test.py
@@ -37,7 +37,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import *
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
called = False
name = "Old"
diff --git a/sources/pyside2/tests/signals/static_metaobject_test.py b/sources/pyside2/tests/signals/static_metaobject_test.py
index 2b76e6874..a6cca5ca4 100644
--- a/sources/pyside2/tests/signals/static_metaobject_test.py
+++ b/sources/pyside2/tests/signals/static_metaobject_test.py
@@ -37,7 +37,7 @@ import unittest
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import QObject, SIGNAL, Slot
-from helper import UsesQCoreApplication
+from helper.usesqcoreapplication import UsesQCoreApplication
class MyObject(QObject):
def __init__(self, parent=None):