This commit is contained in:
Florian Bruhin 2016-05-20 13:07:36 +02:00
parent b1440a1804
commit b934f8bc4e

View File

@ -111,6 +111,7 @@ def test_color_switch(keyhint, config_stub, key_config_stub):
keyhint.update_keyhint('normal', 'a')
assert keyhint.text() == expected_text(('a', '#ABCDEF', 'a', 'cmd-aa'))
def test_no_matches(keyhint, key_config_stub):
"""Ensure the widget isn't visible if there are no keystrings to show."""
key_config_stub.set_bindings_for('normal', OrderedDict([