Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 21f5af6 commit 32e5ec1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_computer.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,10 @@ def test_dynamic_info_firecrest_version(
assert result == "10.10.10"

# raise BadParameter if the version is not supported
with pytest.raises(BadParameter, match=r".*FirecREST api version 0.0.0 is not supported.*"):
_dynamic_info_firecrest_version(ctx, None, "0.0.0")
with pytest.raises(
BadParameter, match=r".*FirecREST api version 0.0.0 is not supported.*"
):
_dynamic_info_firecrest_version(ctx, None, "0.0.0")

# raise BadParameter if the input is nonsense, latest, stable, etc.
with pytest.raises(BadParameter, match=r".*Invalid input.*"):
Expand Down

0 comments on commit 32e5ec1

Please sign in to comment.