tests.test_mailmap module

Tests for repomatic.mailmap: .mailmap parsing and contributor sync.

tests.test_mailmap.test_sync_mailmap_bootstraps_missing_file(tmp_path, monkeypatch, hermetic_git)[source]

A repository with no .mailmap yet gets one created instead of crashing.

The --create-if-missing default path used to read an unbound content variable when the source file did not exist.

tests.test_mailmap.test_remove_header()[source]
tests.test_mailmap.test_mailmap()[source]
tests.test_mailmap.test_new_entry()[source]