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

Method test_keybindings_use_other_default

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

Source from the content-addressed store, hash-verified

54 self.assertEqual(struct.help_key, "F1")
55
56 def test_keybindings_use_other_default(self):
57 struct = self.load_temp_config(
58 textwrap.dedent(
59 """
60 [keyboard]
61 help = C-h
62 """
63 )
64 )
65
66 self.assertEqual(struct.help_key, "C-h")
67 self.assertEqual(struct.backspace_key, "")
68
69 def test_keybindings_use_other_default_issue_447(self):
70 struct = self.load_temp_config(

Callers

nothing calls this directly

Calls 1

load_temp_configMethod · 0.95

Tested by

no test coverage detected