MCPcopy Create free account
hub / github.com/Qinbf/groundmap / test_normal

Method test_normal

scripts/tests/test_k_helpers.py:481–484  ·  view source on GitHub ↗
(self, fake_kb)

Source from the content-addressed store, hash-verified

479
480class TestSafeJoinUnderRoot:
481 def test_normal(self, fake_kb):
482 p = k._safe_join_under_root("raw/foo.md")
483 assert p is not None
484 assert p == (fake_kb / "raw" / "foo.md").resolve()
485
486 def test_empty_rejected(self, fake_kb):
487 assert k._safe_join_under_root("") is None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected