MCPcopy Create free account
hub / github.com/idank/explainshell / test_show_stats

Method test_show_stats

tests/test_manager.py:2223–2229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2221 os.rmdir(self.tmp)
2222
2223 def test_show_stats(self):
2224 runner = CliRunner()
2225 result = runner.invoke(cli, ["--db", self.db_path, "show", "stats"])
2226
2227 self.assertEqual(result.exit_code, 0)
2228 self.assertIn("parsed_manpages: 2", result.output)
2229 self.assertIn("ubuntu/26.04", result.output)
2230
2231 def test_show_distros(self):
2232 runner = CliRunner()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected