You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get started with python lambda tests, especially mock tests.
I cloned the whole repository and then executed make install and make test in python-test-samples/lambda-mock but 3 of 4 failed. Does that work for somebody else?
============================================================================================================================================= short test summary info =============================================================================================================================================
FAILED tests/unit/src/test_sample_lambda.py::TestSampleLambda::test_create_letter_in_s3 - botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the PutItem operation: Requested resource not found
FAILED tests/unit/src/test_sample_lambda.py::TestSampleLambda::test_create_letter_in_s3_customer_notfound_404 - botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the PutItem operation: Requested resource not found
FAILED tests/unit/src/test_sample_lambda.py::TestSampleLambda::test_create_letter_in_s3_doc_type_notfound_404 - botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the PutItem operation: Requested resource not found
=========================================================================================================================================== 3 failed, 1 passed in 2.54s ===========================================================================================================================================
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to get started with python lambda tests, especially mock tests.
I cloned the whole repository and then executed
make install
andmake test
inpython-test-samples/lambda-mock
but 3 of 4 failed. Does that work for somebody else?Test Repo I'm testing: https://github.com/aws-samples/serverless-test-samples/tree/main/python-test-samples/lambda-mock
Error Message
Beta Was this translation helpful? Give feedback.
All reactions