diff --git a/tests/unit/misc/test_keyhints.py b/tests/unit/misc/test_keyhints.py index 339e09df5..2f312e8b3 100644 --- a/tests/unit/misc/test_keyhints.py +++ b/tests/unit/misc/test_keyhints.py @@ -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([