MCPcopy Create free account
hub / github.com/bpython/bpython / test_keymap_map

Method test_keymap_map

bpython/test/test_keys.py:7–10  ·  view source on GitHub ↗

Verify KeyMap.map being a dictionary with the correct length.

(self)

Source from the content-addressed store, hash-verified

5
6class TestCLIKeys(unittest.TestCase):
7 def test_keymap_map(self):
8 """Verify KeyMap.map being a dictionary with the correct
9 length."""
10 self.assertEqual(len(keys.cli_key_dispatch.map), 43)
11
12 def test_keymap_setitem(self):
13 """Verify keys.KeyMap correctly setting items."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected