Skip to content

Commit 36e8de3

Browse files
committed
use qtbot in widget tests
1 parent f090cec commit 36e8de3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
def test_drag_drop_line_edit(qtbot):
1010
widget1 = QWidget()
1111
widget2 = DragDropLineEdit(widget1)
12+
qtbot.addWidget(widget2)
1213
# placeholder text
1314
assert (
1415
widget2.placeholderText() == "Drop a variable font here or click the Open button"

0 commit comments

Comments
 (0)