Skip to content

Commit 073471c

Browse files
authored
Python lint: Ruff rule PLW1510 -- subprocess-run-without-check (#794)
1 parent 10cf0f7 commit 073471c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/client/test_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def test_command_execution(mock_config_path: Path):
4444

4545
test_args = [command] + args + ["--help"]
4646

47-
result = subprocess.run(test_args, capture_output=True, text=True, timeout=5)
47+
result = subprocess.run(
48+
test_args, capture_output=True, text=True, timeout=5, check=False
49+
)
4850

4951
assert result.returncode == 0
5052
assert "usage" in result.stdout.lower()

0 commit comments

Comments
 (0)