X Tutup
Skip to content

Commit cfa7bc3

Browse files
committed
Also test keys that are not used by default
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 315ef15 commit cfa7bc3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bpython/test/test_config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,11 @@ def test_keybindings_unset(self):
7979

8080
self.assertFalse(struct.help_key)
8181

82+
def test_keybindings_unused(self):
83+
struct = self.load_temp_config(textwrap.dedent("""
84+
[keyboard]
85+
help = F4
86+
"""))
87+
88+
self.assertEqual(struct.help_key, 'F4')
89+

0 commit comments

Comments
 (0)
X Tutup