Skip to content

Commit afc3bf0

Browse files
committed
More cleanup
1 parent d9226d6 commit afc3bf0

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ pip-wheel-metadata
3030
.vscode/
3131

3232
# for running AWS Lambda tests using AWS SAM
33-
sam.template.yaml
33+
sam.template.yaml
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import pytest
22

33
pytest.importorskip("boto3")
4+
pytest.importorskip("fastapi")
5+
pytest.importorskip("uvicorn")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
# We have no handler() here and try to call a non-existing function.
33

4-
func()
4+
func()

tests/integrations/aws_lambda/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626

2727
class LocalLambdaStack(Stack):
28+
"""
29+
Uses the AWS CDK to create a local SAM stack containing Lambda functions.
30+
"""
2831
def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
2932
super().__init__(scope, construct_id, **kwargs)
3033
print("[LocalLambdaStack] Creating local SAM Lambda Stack: %s" % self)
@@ -56,7 +59,8 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
5659
)
5760

5861
print(
59-
"[LocalLambdaStack] Add all Lambda functions defined in /tests/integrations/aws_lambda/lambda_functions/ to the SAM stack"
62+
"[LocalLambdaStack] Add all Lambda functions defined in "
63+
"/tests/integrations/aws_lambda/lambda_functions/ to the SAM stack"
6064
)
6165
lambda_dirs = [
6266
d

0 commit comments

Comments
 (0)