Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Sep 4, 2023
1 parent 80171d8 commit 6751165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def test_run_command_without_arguments():
result = subprocess.run(['instld'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=100, universal_newlines=True)

assert result.returncode == 1
assert result.stdout.decode('utf-8') == ''
assert result.stderr.decode('utf-8') == f'usage: instld python_file.py [argv ...]{os.linesep}'
assert result.stdout == ''
assert result.stderr == f'usage: instld python_file.py [argv ...]{os.linesep}'


def test_run_command_with_arguments(main_runner):
Expand Down

0 comments on commit 6751165

Please sign in to comment.