MCPcopy Index your code
hub / github.com/bpython/bpython / test_keybindings_use_default

Method test_keybindings_use_default

bpython/test/test_config.py:44–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 self.assertEqual(len(mapped_keys), len(mapped_keys_set))
43
44 def test_keybindings_use_default(self):
45 struct = self.load_temp_config(
46 textwrap.dedent(
47 """
48 [keyboard]
49 help = F1
50 """
51 )
52 )
53
54 self.assertEqual(struct.help_key, "F1")
55
56 def test_keybindings_use_other_default(self):
57 struct = self.load_temp_config(

Callers

nothing calls this directly

Calls 1

load_temp_configMethod · 0.95

Tested by

no test coverage detected