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

Method test_empty_for_unknown_distro

tests/test_store.py:352–356  ·  view source on GitHub ↗
(self, store)

Source from the content-addressed store, hash-verified

350 assert sections == ["1"]
351
352 def test_empty_for_unknown_distro(self, store):
353 mp = _make_manpage("tar", "1")
354 store.add_manpage(mp, _make_raw())
355
356 assert store.list_sections("debian", "12") == []
357
358
359class TestListManpages:

Callers

nothing calls this directly

Calls 4

add_manpageMethod · 0.80
list_sectionsMethod · 0.80
_make_manpageFunction · 0.70
_make_rawFunction · 0.70

Tested by

no test coverage detected