Skip to content

Commit

Permalink
style: linter fixes for test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
WinPlay02 committed Nov 27, 2023
1 parent 214cc5b commit 8f58fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safeds_runner/server/test_websocket_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_websocket_no_json() -> None:
assert str(mock_connection.close_message) == "Invalid Message: not JSON"


@pytest.mark.parametrize("websocket_message,exception_message", [
@pytest.mark.parametrize(argnames="websocket_message,exception_message", argvalues=[
({"id": "a", "data": "b"}, "Invalid Message: no type"),
({"type": "a", "data": "b"}, "Invalid Message: no id"),
({"type": "b", "id": "123"}, "Invalid Message: no data"),
Expand Down

0 comments on commit 8f58fe5

Please sign in to comment.