Skip to content

Commit f1efd08

Browse files
committed
Remove types on parameters
1 parent b519791 commit f1efd08

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

examples/data_masking/tests/test_lambda_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def lambda_context() -> LambdaContext:
2020
return LambdaContext()
2121

2222

23-
def test_encrypt_lambda(lambda_context: LambdaContext):
23+
def test_encrypt_lambda(lambda_context):
2424
# GIVEN: A sample event for testing
2525
event = {"testkey": "testvalue"}
2626

examples/event_handler_graphql/src/assert_async_graphql_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def lambda_context() -> LambdaContext:
2424

2525

2626
@pytest.mark.asyncio
27-
async def test_async_direct_resolver(lambda_context: LambdaContext):
27+
async def test_async_direct_resolver(lambda_context):
2828
# GIVEN
2929
fake_event = json.loads(Path("assert_async_graphql_response.json").read_text())
3030

examples/event_handler_graphql/src/assert_graphql_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def lambda_context() -> LambdaContext:
2121
return LambdaContext()
2222

2323

24-
def test_direct_resolver(lambda_context: LambdaContext):
24+
def test_direct_resolver(lambda_context):
2525
# GIVEN
2626
fake_event = json.loads(Path("assert_graphql_response.json").read_text())
2727

examples/event_handler_rest/src/assert_rest_api_resolver_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def lambda_context() -> LambdaContext:
1717
return LambdaContext()
1818

1919

20-
def test_lambda_handler(lambda_context: LambdaContext):
20+
def test_lambda_handler(lambda_context):
2121
minimal_event = {
2222
"path": "/todos",
2323
"httpMethod": "GET",

examples/idempotency/tests/test_with_dynamodb_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def lambda_context() -> LambdaContext:
2121
return LambdaContext()
2222

2323

24-
def test_idempotent_lambda(lambda_context: LambdaContext):
24+
def test_idempotent_lambda(lambda_context):
2525
# Configure the boto3 to use the endpoint for the DynamoDB Local instance
2626
dynamodb_local_client = boto3.client("dynamodb", endpoint_url="http://localhost:8000")
2727
app_test_dynamodb_local.persistence_layer.client = dynamodb_local_client

examples/idempotency/tests/test_with_io_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def lambda_context() -> LambdaContext:
2121
return LambdaContext()
2222

2323

24-
def test_idempotent_lambda(lambda_context: LambdaContext):
24+
def test_idempotent_lambda(lambda_context):
2525
mock_client = MagicMock()
2626
app_test_io_operations.persistence_layer.client = mock_client
2727
result = app_test_io_operations.handler({"testkey": "testvalue"}, lambda_context)

examples/logger/src/fake_lambda_context_for_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ def lambda_context() -> LambdaContext:
1717
return LambdaContext()
1818

1919

20-
def test_lambda_handler(lambda_context: LambdaContext):
20+
def test_lambda_handler(lambda_context):
2121
test_event = {"test": "event"}
2222
fake_lambda_context_for_logger_module.handler(test_event, lambda_context)

0 commit comments

Comments
 (0)