Skip to content

Commit

Permalink
Fixed test falling
Browse files Browse the repository at this point in the history
Test with incorrect parameter falls instead of being skipped.

Signed-off-by: Oleg Kulachenko <[email protected]>
  • Loading branch information
vvarg229 committed Oct 24, 2023
1 parent 66d10ee commit 8bb7548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def download_file(url: str) -> str:
)
def test_file_content(base_url, report_dir, path):
if base_url is None:
pytest.skip("base_url is not provided. Provide it using --base_url option.")
pytest.fail("base_url is not provided. Provide it using --base_url option.")

if not base_url.endswith("/"):
base_url += "/"
Expand Down

0 comments on commit 8bb7548

Please sign in to comment.