Skip to content

Commit d0d98a1

Browse files
committed
fix: adjust integration tests to account for previous fixture changes
1 parent e10584a commit d0d98a1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/integration_tests/test_robust_python_demo.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
44
from pathlib import Path
55

66
import pytest
7+
from pbr.options import TRUE_VALUES
78

89
from tests.constants import GLOBAL_NOX_SESSIONS
910

1011

11-
def test_demo_project_generation(robust_python_demo_with_setup: Path) -> None:
12-
assert robust_python_demo_with_setup.exists()
13-
14-
1512
@pytest.mark.parametrize("session", GLOBAL_NOX_SESSIONS)
1613
def test_demo_project_nox_session(robust_demo: Path, session: str) -> None:
1714
command: list[str] = ["nox", "-s", session]
@@ -44,6 +41,8 @@ def test_demo_project_nox_pre_commit(robust_demo: Path) -> None:
4441
assert result.returncode == 0
4542

4643

44+
@pytest.mark.parametrize(argnames="robust_demo__add_rust_extension", argvalues=[True, False], indirect=True)
45+
@pytest.mark.parametrize(argnames="robust_demo__is_setup", argvalues=[False], indirect=True)
4746
def test_demo_project_nox_pre_commit_with_install(robust_demo: Path) -> None:
4847
command: list[str] = ["nox", "-s", "pre-commit", "--", "install"]
4948
pre_commit_hook_path: Path = robust_demo / ".git" / "hooks" / "pre-commit"

0 commit comments

Comments
 (0)