aws-samples / aws-samples/aws-serverless-app-with-aurora-and-python-sql-alchemy-example

Question about Unit Testing

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
67
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Thanks so much for providing this demo app. I have a question about writing unit tests when using layers. When running pytest locally, `import` errors occur when my lambda function references a library or dependency contained in a layer. What is the workaround for this limitation?

Best,

Brianna

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.