Skip to content

Commit 98857a8

Browse files
test: fix test_bad_config failure due to Click 8.2.0 breaking change
Fix test failure in test_bad_config caused by Click 8.2.0+ behavior change. Click 8.2.0+ now keeps stdout and stderr streams separate by default. Maintains backward compatibility.
1 parent 655b218 commit 98857a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_bad_config() -> None:
1919
result = runner.invoke(app, ["generate", f"--config={config_path}", f"--path={path}"])
2020

2121
assert result.exit_code == 2
22-
assert "Unable to parse config" in result.stdout
22+
assert "Unable to parse config" in result.output
2323

2424

2525
class TestGenerate:

0 commit comments

Comments
 (0)