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

Function test_parsed

test/test_mailmap.py:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def test_parsed() -> None:
84 mailmap = Mailmap.from_buffer(TEST_MAILMAP)
85
86 for real_name, real_email, name, email in TEST_RESOLVE:
87 assert mailmap.resolve(name, email) == (real_name, real_email)
88
89
90# TODO: Add a testcase which uses .mailmap in a repo

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…