Skip to content

Commit

Permalink
Is pytest.fail the culprit?
Browse files Browse the repository at this point in the history
  • Loading branch information
aris-aiven committed Oct 19, 2024
1 parent 146ee43 commit e6910f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def wait_url_up(url: str | URL) -> None:
except httpx.NetworkError as ex:
logger.debug("URL %s gave exception %r", url, ex)
else:
pytest.fail(f"url {url} still not reachable")
assert False, f"url {url} still not reachable" # noqa: PT015


@pytest.fixture(name="rootdir")
Expand Down

0 comments on commit e6910f6

Please sign in to comment.