Skip to content

Commit

Permalink
added test + windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koaning committed Apr 27, 2020
1 parent aaab9e9 commit 7c94557
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7c94557

Please sign in to comment.