Skip to content

Commit c0dc52f

Browse files
committed
chore: add ids for precommit install test
1 parent e1aed37 commit c0dc52f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/integration_tests/test_robust_python_demo.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ def test_demo_project_nox_pre_commit(robust_demo: Path) -> None:
4040
assert result.returncode == 0
4141

4242

43-
@pytest.mark.parametrize(argnames="robust_demo__add_rust_extension", argvalues=[True, False], indirect=True)
44-
@pytest.mark.parametrize(argnames="robust_demo__is_setup", argvalues=[False], indirect=True)
43+
@pytest.mark.parametrize(
44+
argnames="robust_demo__add_rust_extension",
45+
argvalues=[True, False],
46+
indirect=True,
47+
ids=["maturin", "python"]
48+
)
49+
@pytest.mark.parametrize(argnames="robust_demo__is_setup", argvalues=[False], indirect=True, ids=["no-setup"])
4550
def test_demo_project_nox_pre_commit_with_install(robust_demo: Path) -> None:
4651
command: list[str] = ["nox", "-s", "pre-commit", "--", "install"]
4752
pre_commit_hook_path: Path = robust_demo / ".git" / "hooks" / "pre-commit"

0 commit comments

Comments
 (0)