Skip to content
Prev Previous commit
address review comments
  • Loading branch information
SandrineP committed Aug 7, 2025
commit 3248cd67962ecb5dcfca6dcc544f6e8856b78c35
3 changes: 1 addition & 2 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pathlib import Path
import pytest
import subprocess
from genericpath import exists


# Fixture to run test in current tmp_path
Expand Down Expand Up @@ -31,7 +30,7 @@ def xtl_clone(git2cpp_path):
subprocess.run(cleanup_cmd, capture_output=True, cwd = clone_working_dir, text=True)

@pytest.fixture
def git_config(git2cpp_path, monkeypatch):
def git_config(monkeypatch):
monkeypatch.setenv("GIT_AUTHOR_NAME", "Jane Doe")
monkeypatch.setenv("GIT_AUTHOR_EMAIL", "jane.doe@blabla.com")
monkeypatch.setenv("GIT_COMMITTER_NAME", "Jane Doe")
Expand Down
1 change: 0 additions & 1 deletion test/test_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
def test_branch_list(xtl_clone, git2cpp_path):
cmd = [git2cpp_path, 'branch']
p = subprocess.run(cmd, capture_output=True, cwd=working_dir, text=True)
print()
assert(p.stdout == '* master\n')


Expand Down