@@ -1011,7 +1011,7 @@ def test_rearrange_hand_success(
10111011 final_state = send_and_receive_api_message (
10121012 tcp_client ,
10131013 "rearrange_hand" ,
1014- {"action" : "rearrange_hand" , " cards" : new_order },
1014+ {"cards" : new_order },
10151015 )
10161016
10171017 # Ensure we remain in selecting hand state
@@ -1038,7 +1038,7 @@ def test_rearrange_hand_noop(
10381038 final_state = send_and_receive_api_message (
10391039 tcp_client ,
10401040 "rearrange_hand" ,
1041- {"action" : "rearrange_hand" , " cards" : current_order },
1041+ {"cards" : current_order },
10421042 )
10431043
10441044 assert final_state ["state" ] == State .SELECTING_HAND .value
@@ -1063,7 +1063,7 @@ def test_rearrange_hand_invalid_number_of_cards(
10631063 response = send_and_receive_api_message (
10641064 tcp_client ,
10651065 "rearrange_hand" ,
1066- {"action" : "rearrange_hand" , " cards" : invalid_order },
1066+ {"cards" : invalid_order },
10671067 )
10681068
10691069 assert_error_response (
@@ -1084,7 +1084,7 @@ def test_rearrange_hand_out_of_range_index(
10841084 response = send_and_receive_api_message (
10851085 tcp_client ,
10861086 "rearrange_hand" ,
1087- {"action" : "rearrange_hand" , " cards" : order },
1087+ {"cards" : order },
10881088 )
10891089
10901090 assert_error_response (
@@ -1102,7 +1102,7 @@ def test_rearrange_hand_invalid_state(self, tcp_client: socket.socket) -> None:
11021102 response = send_and_receive_api_message (
11031103 tcp_client ,
11041104 "rearrange_hand" ,
1105- {"action" : "rearrange_hand" , " cards" : [0 ]},
1105+ {"cards" : [0 ]},
11061106 )
11071107
11081108 assert_error_response (
0 commit comments