Skip to content

Commit 423a5a4

Browse files
committed
fix: adjust forgotten names in fixtures
1 parent 733540b commit 423a5a4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/integration_tests/test_robust_python_demo.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@
88
from tests.constants import GLOBAL_NOX_SESSIONS
99

1010

11-
def test_demo_project_generation(robust_python_demo: Path) -> None:
12-
assert robust_python_demo.exists()
11+
def test_demo_project_generation(robust_python_demo_with_setup: Path) -> None:
12+
assert robust_python_demo_with_setup.exists()
1313

1414

1515
@pytest.mark.parametrize("session", GLOBAL_NOX_SESSIONS)
16-
def test_demo_project_nox_session(robust_python_demo: Path, session: str) -> None:
16+
def test_demo_project_nox_session(robust_python_demo_with_setup: Path, session: str) -> None:
1717
command: list[str] = ["nox", "-s", session]
1818
result: subprocess.CompletedProcess = subprocess.run(
1919
command,
20-
cwd=robust_python_demo,
20+
cwd=robust_python_demo_with_setup,
2121
capture_output=True,
2222
)
2323
if result.check_returncode() != 0:
2424
raise SystemExit(result.stdout)
2525

2626

27-
def test_demo_project_nox_pre_commit(robust_python_demo: Path) -> None:
27+
def test_demo_project_nox_pre_commit(robust_python_demo_with_setup: Path) -> None:
2828
command: list[str] = ["nox", "-s", "pre-commit"]
2929
result: subprocess.CompletedProcess = subprocess.run(
3030
command,
31-
cwd=robust_python_demo,
31+
cwd=robust_python_demo_with_setup,
3232
capture_output=True,
3333
text=True,
3434
timeout=20.0
3535
)
3636
assert result.returncode == 0
3737

3838

39-
def test_demo_project_nox_pre_commit_with_install(robust_python_demo_no_setup: Path) -> None:
39+
def test_demo_project_nox_pre_commit_with_install(robust_python_demo_with_setup: Path) -> None:
4040
command: list[str] = ["nox", "-s", "pre-commit", "--", "install"]
41-
pre_commit_hook_path: Path = robust_python_demo / ".git" / "hooks" / "pre-commit"
41+
pre_commit_hook_path: Path = robust_python_demo_with_setup / ".git" / "hooks" / "pre-commit"
4242
assert not pre_commit_hook_path.exists()
4343

4444
result: subprocess.CompletedProcess = subprocess.run(
4545
command,
46-
cwd=robust_python_demo,
46+
cwd=robust_python_demo_with_setup,
4747
capture_output=True,
4848
text=True,
4949
timeout=20.0

0 commit comments

Comments
 (0)