@@ -36,6 +36,7 @@ def lambda_function_url_endpoint(infrastructure: dict) -> str:
3636 return infrastructure .get ("LambdaFunctionUrl" , "" )
3737
3838
39+ @pytest .mark .xdist_group (name = "event_handler" )
3940def test_alb_headers_serializer (alb_basic_listener_endpoint ):
4041 # GIVEN
4142 url = f"{ alb_basic_listener_endpoint } /todos"
@@ -74,6 +75,7 @@ def test_alb_headers_serializer(alb_basic_listener_endpoint):
7475 assert response .cookies .get (last_cookie .name ) == last_cookie .value
7576
7677
78+ @pytest .mark .xdist_group (name = "event_handler" )
7779def test_alb_multi_value_headers_serializer (alb_multi_value_header_listener_endpoint ):
7880 # GIVEN
7981 url = f"{ alb_multi_value_header_listener_endpoint } /todos"
@@ -112,6 +114,7 @@ def test_alb_multi_value_headers_serializer(alb_multi_value_header_listener_endp
112114 assert response .cookies .get (cookie .name ) == cookie .value
113115
114116
117+ @pytest .mark .xdist_group (name = "event_handler" )
115118def test_api_gateway_rest_headers_serializer (apigw_rest_endpoint ):
116119 # GIVEN
117120 url = f"{ apigw_rest_endpoint } todos"
@@ -147,6 +150,7 @@ def test_api_gateway_rest_headers_serializer(apigw_rest_endpoint):
147150 assert response .cookies .get (cookie .name ) == cookie .value
148151
149152
153+ @pytest .mark .xdist_group (name = "event_handler" )
150154def test_api_gateway_http_headers_serializer (apigw_http_endpoint ):
151155 # GIVEN
152156 url = f"{ apigw_http_endpoint } todos"
@@ -182,6 +186,7 @@ def test_api_gateway_http_headers_serializer(apigw_http_endpoint):
182186 assert response .cookies .get (cookie .name ) == cookie .value
183187
184188
189+ @pytest .mark .xdist_group (name = "event_handler" )
185190def test_lambda_function_url_headers_serializer (lambda_function_url_endpoint ):
186191 # GIVEN
187192 url = f"{ lambda_function_url_endpoint } todos" # the function url endpoint already has the trailing /
0 commit comments