File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2381,9 +2381,9 @@ def test_handler_naming_matches_smithy_operations():
23812381 for handler_name in handler_names :
23822382 assert hasattr (handlers , handler_name ), f"Handler { handler_name } not found"
23832383 handler_class = getattr (handlers , handler_name )
2384- assert issubclass (handler_class , EndpointHandler ), (
2385- f" { handler_name } should inherit from EndpointHandler"
2386- )
2384+ assert issubclass (
2385+ handler_class , EndpointHandler
2386+ ), f" { handler_name } should inherit from EndpointHandler"
23872387
23882388
23892389def test_all_handlers_have_executor ():
@@ -2408,9 +2408,9 @@ def test_all_handlers_have_executor():
24082408
24092409 for handler_class in handlers_to_test :
24102410 handler = handler_class (executor )
2411- assert handler . executor == executor , (
2412- f" { handler_class . __name__ } should store executor reference"
2413- )
2411+ assert (
2412+ handler . executor == executor
2413+ ), f" { handler_class . __name__ } should store executor reference"
24142414
24152415
24162416class MockExceptionHandler (EndpointHandler ):
Original file line number Diff line number Diff line change @@ -919,9 +919,9 @@ def test_router_constructor_with_all_default_route_types():
919919
920920 for path , method , expected_type in test_cases :
921921 route = router .find_route (path , method )
922- assert isinstance (route , expected_type ), (
923- f"Expected { expected_type . __name__ } for { method } { path } "
924- )
922+ assert isinstance (
923+ route , expected_type
924+ ), f"Expected { expected_type . __name__ } for { method } { path } "
925925
926926
927927def test_router_constructor_with_subset_of_route_types ():
You can’t perform that action at this time.
0 commit comments