MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_objects

Function test_objects

test/test_repository_custom.py:62–64  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

60
61
62def test_objects(repo: Repository) -> None:
63 a = repo.read('323fae03f4606ea9991df8befbb2fca795e648fa')
64 assert (ObjectType.BLOB, b'foobar\n') == a

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…