9 lines
213 B
Python
9 lines
213 B
Python
from bouquin.key_prompt import KeyPrompt
|
|
|
|
|
|
def test_key_prompt_roundtrip(qtbot):
|
|
kp = KeyPrompt()
|
|
qtbot.addWidget(kp)
|
|
kp.show()
|
|
kp.key_entry.setText("swordfish")
|
|
assert kp.key() == "swordfish"
|