Skip to content

Commit 1f588f9

Browse files
committed
remove useless run_in_tmp_path
1 parent 50c8f5b commit 1f588f9

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

test/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
@pytest.mark.parametrize("all_flag", ["", "-A", "--all", "--no-ignore-removal"])
8-
def test_add(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path, all_flag):
8+
def test_add(xtl_clone, git2cpp_path, tmp_path, all_flag):
99
assert (tmp_path / "xtl").exists()
1010
xtl_path = tmp_path / "xtl"
1111

test/test_branch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66

7-
def test_branch_list(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
7+
def test_branch_list(xtl_clone, git2cpp_path, tmp_path):
88
assert (tmp_path / "xtl").exists()
99
xtl_path = tmp_path / "xtl"
1010

@@ -14,7 +14,7 @@ def test_branch_list(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
1414
assert(p.stdout == '* master\n')
1515

1616

17-
def test_branch_create_delete(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
17+
def test_branch_create_delete(xtl_clone, git2cpp_path, tmp_path):
1818
assert (tmp_path / "xtl").exists()
1919
xtl_path = tmp_path / "xtl"
2020

test/test_checkout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66

7-
def test_checkout(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
7+
def test_checkout(xtl_clone, git2cpp_path, tmp_path):
88
assert (tmp_path / "xtl").exists()
99
xtl_path = tmp_path / "xtl"
1010

@@ -27,7 +27,7 @@ def test_checkout(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
2727
assert p_checkout2.returncode == 0
2828

2929

30-
def test_checkout_b(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path):
30+
def test_checkout_b(xtl_clone, git2cpp_path, tmp_path):
3131
assert (tmp_path / "xtl").exists()
3232
xtl_path = tmp_path / "xtl"
3333

test/test_commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
@pytest.mark.parametrize("all_flag", ["", "-A", "--all", "--no-ignore-removal"])
8-
def test_commit(xtl_clone, git_config, git2cpp_path, tmp_path, run_in_tmp_path, tmp_path_factory, monkeypatch, all_flag):
8+
def test_commit(xtl_clone, git_config, git2cpp_path, tmp_path, monkeypatch, all_flag):
99
assert (tmp_path / "xtl").exists()
1010
xtl_path = tmp_path / "xtl"
1111

test/test_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@pytest.mark.parametrize("short_flag", ["", "-s", "--short"])
99
@pytest.mark.parametrize("long_flag", ["", "--long"])
10-
def test_status_new_file(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path, short_flag, long_flag):
10+
def test_status_new_file(xtl_clone, git2cpp_path, tmp_path, short_flag, long_flag):
1111
assert (tmp_path / "xtl").exists()
1212
xtl_path = tmp_path / "xtl"
1313

@@ -41,7 +41,7 @@ def test_status_new_file(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path, sho
4141

4242
@pytest.mark.parametrize("short_flag", ["", "-s", "--short"])
4343
@pytest.mark.parametrize("long_flag", ["", "--long"])
44-
def test_status_add_file(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path, short_flag, long_flag):
44+
def test_status_add_file(xtl_clone, git2cpp_path, tmp_path, short_flag, long_flag):
4545
assert (tmp_path / "xtl").exists()
4646
xtl_path = tmp_path / "xtl"
4747

0 commit comments

Comments
 (0)