|
@@ -54,9 +54,7 @@ def test_LabelDialog_popUp(qtbot):
|
|
# popUp(text='cat')
|
|
# popUp(text='cat')
|
|
|
|
|
|
def interact():
|
|
def interact():
|
|
- qtbot.keyClick(
|
|
|
|
- widget.edit, QtCore.Qt.Key_P
|
|
|
|
- ) # enter 'p' for 'person' # NOQA
|
|
|
|
|
|
+ qtbot.keyClick(widget.edit, QtCore.Qt.Key_P) # enter 'p' for 'person' # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
|
|
|
|
@@ -83,9 +81,7 @@ def test_LabelDialog_popUp(qtbot):
|
|
# popUp() + key_Up
|
|
# popUp() + key_Up
|
|
|
|
|
|
def interact():
|
|
def interact():
|
|
- qtbot.keyClick(
|
|
|
|
- widget.edit, QtCore.Qt.Key_Up
|
|
|
|
- ) # 'person' -> 'dog' # NOQA
|
|
|
|
|
|
+ qtbot.keyClick(widget.edit, QtCore.Qt.Key_Up) # 'person' -> 'dog' # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
qtbot.keyClick(widget.edit, QtCore.Qt.Key_Enter) # NOQA
|
|
|
|
|