Skip to content

Commit

Permalink
fix console test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Aug 2, 2024
1 parent eb4b23d commit 50914f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/console_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@


def test_run_without_parameters():
result = subprocess.run(["python", "isoquant.py"], capture_output=True)
assert result.returncode == 255
result = subprocess.run(["python3", "isoquant.py"], capture_output=True)
assert result.returncode == 0
assert b"usage" in result.stdout
assert b"Reference genome was not provided" in result.stdout


@pytest.mark.parametrize("option", ["-h", "--help", "--full_help"])
Expand Down

0 comments on commit 50914f3

Please sign in to comment.