diff --git a/README.md b/README.md index 481e45058..01f41ccf4 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ Now see how you could test it with Moto: ```python import boto3 -from moto import mock_s3 +from moto import mock_aws from mymodule import MyModel -@mock_s3 +@mock_aws def test_my_model_save(): conn = boto3.resource("s3", region_name="us-east-1") # We need to create the bucket since this is all in Moto's 'virtual' AWS account