aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtQml/signal_arguments.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-23 14:52:00 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-23 15:07:42 +0200
commitb429d2a06bf5acb4b44cd0c7bd599c6d4cc7ebae (patch)
treed1175aa45a3862bda154214081808ad68fcce57c /sources/pyside2/tests/QtQml/signal_arguments.py
parentcacfabc03198b1bcd314d4ebdb0b7e06dfe097ff (diff)
Test signal_arguments.py: Use Qt Quick Controls 2
Qt Quick Controls 1 is deprecated and has been removed in Qt 6. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: If70fde907c3984b0593186a9b570a921f270d45c Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/QtQml/signal_arguments.py')
-rw-r--r--sources/pyside2/tests/QtQml/signal_arguments.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtQml/signal_arguments.py b/sources/pyside2/tests/QtQml/signal_arguments.py
index 98b52c05c..16257a22f 100644
--- a/sources/pyside2/tests/QtQml/signal_arguments.py
+++ b/sources/pyside2/tests/QtQml/signal_arguments.py
@@ -68,6 +68,7 @@ class TestConnectionWithQml(TimedQApplication):
root = view.rootObject()
self.assertTrue(root)
button = root.findChild(QObject, "button")
+ self.assertTrue(button)
view.show()
button.clicked.emit()
self.assertEqual(obj.value, 42)