From 8f58fe57f9bd4be2efa635cb462526226f6a24fa Mon Sep 17 00:00:00 2001 From: WinPlay02 Date: Mon, 27 Nov 2023 16:07:43 +0100 Subject: [PATCH] style: linter fixes for test cases --- tests/safeds_runner/server/test_websocket_mock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/safeds_runner/server/test_websocket_mock.py b/tests/safeds_runner/server/test_websocket_mock.py index baea3da..43d4dd5 100644 --- a/tests/safeds_runner/server/test_websocket_mock.py +++ b/tests/safeds_runner/server/test_websocket_mock.py @@ -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"),