Skip to content

Commit ee570da

Browse files
play with typer output.
Co-authored-by: Piotr Kaznowski <[email protected]>
1 parent 936f4b1 commit ee570da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cli_pa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_main_command_without_args_prints_help():
1111
[],
1212
)
1313
assert result.exit_code == 0
14-
tidied_output = " ".join([line.replace("│", "").strip() for line in result.stdout.split("\n")])
14+
tidied_output = " ".join([line.replace("│", "").strip() for line in result.output.split("\n")])
1515
assert "This is a new experimental PythonAnywhere cli client." in tidied_output
1616
assert "Makes Django Girls tutorial projects deployment easy" in tidied_output
1717
assert "Perform some operations on files" in tidied_output

0 commit comments

Comments
 (0)