Skip to content

Commit e48378c

Browse files
committed
modify test approach
1 parent d58598f commit e48378c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_widgets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
from slice.ui.widgets import DragDropLineEdit
77

88

9-
def test_drag_drop_line_edit(qtbot):
9+
def test_drag_drop_line_edit():
1010
widget1 = QWidget()
1111
widget2 = DragDropLineEdit(widget1)
12-
qtbot.addWidget(widget2)
1312
# placeholder text
1413
assert (
1514
widget2.placeholderText() == "Drop a variable font here or click the Open button"

0 commit comments

Comments
 (0)