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

Method test_keymap_map

bpython/test/test_keys.py:38–41  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

36
37class TestUrwidKeys(unittest.TestCase):
38 def test_keymap_map(self):
39 """Verify KeyMap.map being a dictionary with the correct
40 length."""
41 self.assertEqual(len(keys.urwid_key_dispatch.map), 64)
42
43 def test_keymap_setitem(self):
44 """Verify keys.KeyMap correctly setting items."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected