Skip to content

Commit 3248cd6

Browse files
committed
address review comments
1 parent cccdc4c commit 3248cd6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from pathlib import Path
33
import pytest
44
import subprocess
5-
from genericpath import exists
65

76

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

3332
@pytest.fixture
34-
def git_config(git2cpp_path, monkeypatch):
33+
def git_config(monkeypatch):
3534
monkeypatch.setenv("GIT_AUTHOR_NAME", "Jane Doe")
3635
monkeypatch.setenv("GIT_AUTHOR_EMAIL", "jane.doe@blabla.com")
3736
monkeypatch.setenv("GIT_COMMITTER_NAME", "Jane Doe")

test/test_branch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
def test_branch_list(xtl_clone, git2cpp_path):
1010
cmd = [git2cpp_path, 'branch']
1111
p = subprocess.run(cmd, capture_output=True, cwd=working_dir, text=True)
12-
print()
1312
assert(p.stdout == '* master\n')
1413

1514

0 commit comments

Comments
 (0)