Skip to content

Commit 6b27a7c

Browse files
committed
chore: add small improvements to integration test's error visibility
1 parent 81e156b commit 6b27a7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration_tests/test_robust_python_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ def test_demo_project_generation(robust_python_demo_with_setup: Path) -> None:
1515
@pytest.mark.parametrize("session", GLOBAL_NOX_SESSIONS)
1616
def test_demo_project_nox_session(robust_demo: Path, session: str) -> None:
1717
command: list[str] = ["nox", "-s", session]
18-
result: subprocess.CompletedProcess = subprocess.run(
18+
subprocess.run(
1919
command,
2020
cwd=robust_demo,
2121
capture_output=True,
22-
text=True
22+
text=True,
23+
check=True
2324
)
24-
assert result.check_returncode() == 0
2525

2626

2727
def test_demo_project_nox_pre_commit(robust_demo: Path) -> None:

0 commit comments

Comments
 (0)