MCPcopy Index your code
hub / github.com/idank/explainshell / test_clean_db

Method test_clean_db

tests/test_db_check.py:45–47  ·  view source on GitHub ↗
(self, store, db_path)

Source from the content-addressed store, hash-verified

43
44class TestCheck:
45 def test_clean_db(self, store, db_path):
46 store.add_manpage(_make_manpage("tar", "1"), _make_raw())
47 assert db_check(db_path) == []
48
49 def test_malformed_source(self, store, db_path):
50 """Directly insert a row with a bare source to test the checker."""

Callers

nothing calls this directly

Calls 3

add_manpageMethod · 0.80
_make_manpageFunction · 0.70
_make_rawFunction · 0.70

Tested by

no test coverage detected