We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6996b75 + 759b30d commit f4a6bbbCopy full SHA for f4a6bbb
README.rst
@@ -17,9 +17,9 @@ like key presses and mouse clicks:
17
qtbot.addWidget(widget)
18
19
# click in the Greet button and make sure it updates the appropriate label
20
- qtbot.mouseClick(window.button_greet, QtCore.Qt.LeftButton)
+ qtbot.mouseClick(widget.button_greet, QtCore.Qt.LeftButton)
21
22
- assert window.greet_label.text() == 'Hello!'
+ assert widget.greet_label.text() == 'Hello!'
23
24
25
.. _PySide: https://pypi.python.org/pypi/PySide
0 commit comments