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

Method test_release_index

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

Source from the content-addressed store, hash-verified

517 # -- Release index --
518
519 def test_release_index(self):
520 rv = self.client.get("/manpage/ubuntu/")
521 self.assertEqual(rv.status_code, 200)
522 self.assertIn(b"26.04", rv.data)
523 self.assertIn(b'href="/manpage/ubuntu/26.04/"', rv.data)
524
525 def test_release_index_unknown_distro(self):
526 rv = self.client.get("/manpage/archlinux/")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected