Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Feb 13, 2024
1 parent 6085b15 commit 801cad7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_juce_gui_basics/test_KeyPress.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ def test_key_press_create_from_description():
key_press_description = "ctrl + a"
key_press = juce.KeyPress.createFromDescription(key_press_description)
assert key_press.isValid()
assert key_press.getKeyCode() == ord('A')
assert key_press.getModifiers() == juce.ModifierKeys(juce.ModifierKeys.ctrlModifier)
assert key_press.getTextCharacter() == '\x00'

#==================================================================================================

Expand Down

0 comments on commit 801cad7

Please sign in to comment.