Fix modeparser tests

This commit is contained in:
Florian Bruhin 2017-09-22 19:49:52 +02:00
parent 5be44756e3
commit e27c54a5c1

View File

@ -56,7 +56,7 @@ class TestsNormalKeyParser:
# Then start the real chain
keyparser.handle(fake_keyevent_factory(Qt.Key_B, text='b'))
keyparser.handle(fake_keyevent_factory(Qt.Key_A, text='a'))
keyparser.execute.assert_called_once_with(
keyparser.execute.assert_called_with(
'message-info ba', keyparser.Type.chain, None)
assert keyparser._keystring == ''