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

Function test_new

test/test_mailmap.py:72–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70
71
72def test_new() -> None:
73 mailmap = Mailmap()
74
75 # Add entries to the mailmap
76 for entry in TEST_ENTRIES:
77 mailmap.add_entry(*entry)
78
79 for real_name, real_email, name, email in TEST_RESOLVE:
80 assert mailmap.resolve(name, email) == (real_name, real_email)
81
82
83def test_parsed() -> None:

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…