Skip to content

Commit e3f907b

Browse files
test: fix test_bad_config failure due to Click 8.2.0 breaking change (#1309)
Fixes 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. Fixes #1308
1 parent 655b218 commit e3f907b

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)