convert to markdown
This commit is contained in:
parent
31604a0cd2
commit
6a9d2c4bcc
54 changed files with 1616 additions and 4012 deletions
9
tests/test_key_prompt.py
Normal file
9
tests/test_key_prompt.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from bouquin.key_prompt import KeyPrompt
|
||||
|
||||
|
||||
def test_key_prompt_roundtrip(qtbot):
|
||||
kp = KeyPrompt()
|
||||
qtbot.addWidget(kp)
|
||||
kp.show()
|
||||
kp.edit.setText("swordfish")
|
||||
assert kp.key() == "swordfish"
|
||||
Loading…
Add table
Add a link
Reference in a new issue