diff options
Diffstat (limited to 'sources/pyside6/tests/QtQml/bug_847.py')
-rw-r--r-- | sources/pyside6/tests/QtQml/bug_847.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/bug_847.py b/sources/pyside6/tests/QtQml/bug_847.py index ffa688a32..d4c9f9faf 100644 --- a/sources/pyside6/tests/QtQml/bug_847.py +++ b/sources/pyside6/tests/QtQml/bug_847.py @@ -49,6 +49,7 @@ from helper.usesqapplication import UsesQApplication from PySide6.QtCore import Slot, Signal, QUrl, QTimer, QCoreApplication from PySide6.QtQuick import QQuickView + class View(QQuickView): def __init__(self): super().__init__() @@ -59,6 +60,7 @@ class View(QQuickView): def blubb(self, x, y): self.called.emit(x, y) + class TestQML(UsesQApplication): def done(self, x, y): self._sucess = True @@ -89,6 +91,7 @@ class TestQML(UsesQApplication): self.app.exec_() self.assertTrue(self._sucess) + if __name__ == '__main__': unittest.main() |