diff --git a/test_cli.py b/test_cli.py index b832aeb83b5a..71c9c2abede9 100644 --- a/test_cli.py +++ b/test_cli.py @@ -35,3 +35,12 @@ def test_data_convert_help(run: Callable[..., RunResult]): for i, line in enumerate(lines): assert output.outlines[i] == line + + +def test_version_print_lines(run: Callable[..., RunResult]): + output = run("--version") + output_text = "".join(output.outlines) + assert "Rasa Version" in output_text + assert "Python Version" in output_text + assert "Operating System" in output_text + assert "Python Path" in output_text