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

Method test_distro_path

tests/test_store.py:202–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200
201class TestParseDistroRelease:
202 def test_distro_path(self):
203 assert parse_distro_release("ubuntu/26.04/1/ps.1.gz") == ("ubuntu", "26.04")
204
205 def test_different_distro(self):
206 assert parse_distro_release("debian/12/8/foo.8.gz") == ("debian", "12")

Callers

nothing calls this directly

Calls 1

parse_distro_releaseFunction · 0.90

Tested by

no test coverage detected