@@ -36,6 +36,7 @@ def lambda_function_url_endpoint(infrastructure: dict) -> str:
36
36
return infrastructure .get ("LambdaFunctionUrl" , "" )
37
37
38
38
39
+ @pytest .mark .xdist_group (name = "event_handler" )
39
40
def test_alb_headers_serializer (alb_basic_listener_endpoint ):
40
41
# GIVEN
41
42
url = f"{ alb_basic_listener_endpoint } /todos"
@@ -74,6 +75,7 @@ def test_alb_headers_serializer(alb_basic_listener_endpoint):
74
75
assert response .cookies .get (last_cookie .name ) == last_cookie .value
75
76
76
77
78
+ @pytest .mark .xdist_group (name = "event_handler" )
77
79
def test_alb_multi_value_headers_serializer (alb_multi_value_header_listener_endpoint ):
78
80
# GIVEN
79
81
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
112
114
assert response .cookies .get (cookie .name ) == cookie .value
113
115
114
116
117
+ @pytest .mark .xdist_group (name = "event_handler" )
115
118
def test_api_gateway_rest_headers_serializer (apigw_rest_endpoint ):
116
119
# GIVEN
117
120
url = f"{ apigw_rest_endpoint } todos"
@@ -147,6 +150,7 @@ def test_api_gateway_rest_headers_serializer(apigw_rest_endpoint):
147
150
assert response .cookies .get (cookie .name ) == cookie .value
148
151
149
152
153
+ @pytest .mark .xdist_group (name = "event_handler" )
150
154
def test_api_gateway_http_headers_serializer (apigw_http_endpoint ):
151
155
# GIVEN
152
156
url = f"{ apigw_http_endpoint } todos"
@@ -182,6 +186,7 @@ def test_api_gateway_http_headers_serializer(apigw_http_endpoint):
182
186
assert response .cookies .get (cookie .name ) == cookie .value
183
187
184
188
189
+ @pytest .mark .xdist_group (name = "event_handler" )
185
190
def test_lambda_function_url_headers_serializer (lambda_function_url_endpoint ):
186
191
# GIVEN
187
192
url = f"{ lambda_function_url_endpoint } todos" # the function url endpoint already has the trailing /
0 commit comments