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

Method test_no_completers

bpython/test/test_autocomplete.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46
47class TestGetCompleter(unittest.TestCase):
48 def test_no_completers(self):
49 self.assertTupleEqual(autocomplete.get_completer([], 0, ""), ([], None))
50
51 def test_one_completer_without_matches_returns_empty_list_and_none(self):
52 a = completer([])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected