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

Method test_explain_cmd_no_distro

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

Source from the content-addressed store, hash-verified

79 # -- Backwards-compatible routes (no distro in URL) --
80
81 def test_explain_cmd_no_distro(self):
82 rv = self.client.get("/explain?cmd=bar+-a")
83 self.assertEqual(rv.status_code, 200)
84 self.assertIn(b"bar", rv.data)
85
86 def test_explain_no_cmd_redirects(self):
87 rv = self.client.get("/explain")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected