MCPcopy Index your code
hub / github.com/python/cpython / test_handling_command_list

Method test_handling_command_list

Lib/test/test_remote_pdb.py:236–247  ·  view source on GitHub ↗

Test handling the command_list message.

(self)

Source from the content-addressed store, hash-verified

234 )
235
236 def test_handling_command_list(self):
237 """Test handling the command_list message."""
238 incoming = [
239 ("server", {"command_list": ["help", "list", "continue"]}),
240 ]
241 self.do_test(
242 incoming=incoming,
243 expected_outgoing=[],
244 expected_state={
245 "pdb_commands": {"help", "list", "continue"},
246 },
247 )
248
249 def test_handling_info_message(self):
250 """Test handling a message payload with type='info'."""

Callers

nothing calls this directly

Calls 1

do_testMethod · 0.95

Tested by

no test coverage detected