Skip to content
Prev Previous commit
Next Next commit
try with monkeypatch with author and committer
  • Loading branch information
SandrineP committed Aug 7, 2025
commit cccdc4c8ae8a7651ace8635976a89b30f595f4aa
2 changes: 2 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ def xtl_clone(git2cpp_path):

@pytest.fixture
def git_config(git2cpp_path, monkeypatch):
Comment thread
ianthomas23 marked this conversation as resolved.
Outdated
monkeypatch.setenv("GIT_AUTHOR_NAME", "Jane Doe")
monkeypatch.setenv("GIT_AUTHOR_EMAIL", "jane.doe@blabla.com")
monkeypatch.setenv("GIT_COMMITTER_NAME", "Jane Doe")
monkeypatch.setenv("GIT_COMMITTER_EMAIL", "jane.doe@blabla.com")