Skip to content

Commit f03ec24

Browse files
committed
new try with os
1 parent 89162b5 commit f03ec24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ def xtl_clone(git2cpp_path):
3131
subprocess.run(cleanup_cmd, capture_output=True, cwd = clone_working_dir, text=True)
3232

3333
@pytest.fixture
34-
def git_config(git2cpp_path, monkeypatch):
34+
def git_config(git2cpp_path):
3535
os.environ["GIT_AUTHOR_NAME"] = "Jane Doe"
3636
os.environ["GIT_AUTHOR_EMAIL"] = "[email protected]"
37+
os.environ["GIT_COMMITTER_NAME"] = "Jane Doe"
38+
os.environ["GIT_COMMITTER_EMAIL"] = "[email protected]"
3739

3840
yield
3941

4042
del(os.environ["GIT_AUTHOR_NAME"])
4143
del(os.environ["GIT_AUTHOR_EMAIL"])
44+
del(os.environ["GIT_COMMITTER_NAME"])
45+
del(os.environ["GIT_COMMITTER_EMAIL"])

0 commit comments

Comments
 (0)