Small changes to basekeyparser tests
This commit is contained in:
parent
b4f4c97cf9
commit
cd34fc4b57
@ -354,7 +354,6 @@ def test_clear_keystring(qtbot):
|
|||||||
"""Test that the keystring is cleared and the signal is emitted"""
|
"""Test that the keystring is cleared and the signal is emitted"""
|
||||||
kp = basekeyparser.BaseKeyParser(0)
|
kp = basekeyparser.BaseKeyParser(0)
|
||||||
kp._keystring = 'test'
|
kp._keystring = 'test'
|
||||||
kp.clear_keystring()
|
|
||||||
with qtbot.waitSignal(kp.keystring_updated):
|
with qtbot.waitSignal(kp.keystring_updated):
|
||||||
pass
|
kp.clear_keystring()
|
||||||
assert kp._keystring is ''
|
assert kp._keystring == ''
|
||||||
|
Loading…
Reference in New Issue
Block a user