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

Method test_cli_help

Lib/test/test_sqlite3/test_cli.py:49–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 return err
48
49 def test_cli_help(self):
50 out = self.expect_success("-h")
51 self.assertIn("usage: ", out)
52 self.assertIn(" [-h] [-v] [filename] [sql]", out)
53 self.assertIn("Python sqlite3 CLI", out)
54
55 def test_cli_version(self):
56 out = self.expect_success("-v")

Callers

nothing calls this directly

Calls 2

expect_successMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected