aws-samples / aws-samples/serverless-test-samples
[Bug]: python-test-examples using depreciated moto syntax
Open
bug
- Dominant language
- Python
- Stars
- 356
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
### Contact Details
pjdavis@amazon.co.uk
### Runtime
Python
### What happened?
Some python examples are not fixing the version of moto imported. The tests are using the old depreciated syntax e.g. `from moto import mock s3` rather than the new syntax `from moto import mock_aws`. See https://github.com/getmoto/moto/blob/master/CHANGELOG.md#500
### Relevant log output
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.