Skip to content

Commit

Permalink
Update tests/test_end_to_end.py
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Rathgeber <florian.rathgeber@gmail.com>
  • Loading branch information
jspaezp and kynan authored Oct 27, 2024
1 parent 0955d2b commit d7fcbfc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@ def test_dry_run_stdin(input_file: str, extra_args: List[str], verify: bool):
output = pc.stdout

assert output == expected
if verify:
assert pc.returncode == 1
else:
assert pc.returncode == 0
assert pc.returncode == 1 if verify else 0


@pytest.mark.parametrize("input_file, extra_args", DRY_RUN_CASES)
Expand Down

0 comments on commit d7fcbfc

Please sign in to comment.