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

Method test_do_help

Lib/test/test_remote_pdb.py:914–920  ·  view source on GitHub ↗

Test that do_help sends the help message.

(self)

Source from the content-addressed store, hash-verified

912 self.assertEqual(cmd, "help")
913
914 def test_do_help(self):
915 """Test that do_help sends the help message."""
916 self.pdb.do_help("break")
917
918 outputs = self.sockfile.get_output()
919 self.assertEqual(len(outputs), 1)
920 self.assertEqual(outputs[0], {"help": "break"})
921
922 def test_interact_mode(self):
923 """Test interaction mode setup and execution."""

Callers

nothing calls this directly

Calls 3

do_helpMethod · 0.45
get_outputMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected