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

Method test_explain_cmd_with_distro

tests/test_web_views.py:121–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 # -- Distro-prefixed routes --
120
121 def test_explain_cmd_with_distro(self):
122 rv = self.client.get("/explain/ubuntu/26.04?cmd=bar+-a")
123 self.assertEqual(rv.status_code, 200)
124 self.assertIn(b"bar", rv.data)
125
126 def test_explain_program_with_distro(self):
127 rv = self.client.get("/explain/ubuntu/26.04/bar")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected