@@ -1232,7 +1232,7 @@ def list_items(limit: Annotated[constrained_int, Query()] = 10):
12321232
12331233def test_query_alias_sets_validation_alias_automatically ():
12341234 """
1235- Test for issue #7552: When alias is set but validation_alias is not,
1235+ When alias is set but validation_alias is not,
12361236 validation_alias should be automatically set to alias value.
12371237 This ensures compatibility with Pydantic 2.12+.
12381238 """
@@ -1273,7 +1273,7 @@ def get_foo(
12731273
12741274def test_query_alias_with_multivalue_query_string_parameters ():
12751275 """
1276- Test for issue #7552: Ensure alias works with multiValueQueryStringParameters.
1276+ Ensure alias works with multiValueQueryStringParameters.
12771277 """
12781278 from annotated_types import Ge , Le
12791279 from pydantic import StringConstraints
@@ -1311,7 +1311,7 @@ def get_foo(
13111311
13121312def test_query_explicit_validation_alias_takes_precedence ():
13131313 """
1314- Test that explicitly set validation_alias is preserved and not overwritten by alias.
1314+ Explicitly set validation_alias is preserved and not overwritten by alias.
13151315 The alias is used by Powertools to extract the value from the request,
13161316 while validation_alias is used by Pydantic for internal validation.
13171317 """
@@ -1342,7 +1342,7 @@ def get_foo(
13421342
13431343def test_header_alias_sets_validation_alias_automatically ():
13441344 """
1345- Test for issue #7552: Header alias should also set validation_alias automatically.
1345+ Header alias should also set validation_alias automatically.
13461346 """
13471347 # GIVEN an APIGatewayRestResolver with validation enabled
13481348 app = APIGatewayRestResolver (enable_validation = True )
@@ -1371,7 +1371,7 @@ def get_foo(
13711371
13721372def test_query_without_alias_works_normally ():
13731373 """
1374- Test that Query without alias continues to work normally.
1374+ Query without alias continues to work normally.
13751375 """
13761376 # GIVEN an APIGatewayRestResolver with validation enabled
13771377 app = APIGatewayRestResolver (enable_validation = True )
@@ -1400,7 +1400,7 @@ def get_foo(
14001400
14011401def test_query_validation_alias_only_sets_alias_automatically ():
14021402 """
1403- Test for issue #7552: When only validation_alias is set (without alias),
1403+ When only validation_alias is set (without alias),
14041404 alias should be automatically set to validation_alias value.
14051405 This ensures the middleware can find the parameter in the request.
14061406 """
0 commit comments