bouquin/tests/test_key_prompt.py
Miguel Jacq 6bc5b66d3f
All checks were successful
CI / test (push) Successful in 3m49s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 21s
Add the ability to choose the database path at startup. Add more tests. Add bandit
2025-11-17 15:15:00 +11:00

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"