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

Method test_handling_info_message

Lib/test/test_remote_pdb.py:249–258  ·  view source on GitHub ↗

Test handling a message payload with type='info'.

(self)

Source from the content-addressed store, hash-verified

247 )
248
249 def test_handling_info_message(self):
250 """Test handling a message payload with type='info'."""
251 incoming = [
252 ("server", {"message": "Some message or other\n", "type": "info"}),
253 ]
254 self.do_test(
255 incoming=incoming,
256 expected_outgoing=[],
257 expected_stdout="Some message or other\n",
258 )
259
260 def test_handling_error_message(self):
261 """Test handling a message payload with type='error'."""

Callers

nothing calls this directly

Calls 1

do_testMethod · 0.95

Tested by

no test coverage detected