From 496c1cd5594831bb8dcc55d5e11de7167cbf3c6f Mon Sep 17 00:00:00 2001 From: Yossi Rozantsev <54272821+Apakottur@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:15:41 +0000 Subject: [PATCH] Update README.md (#7266) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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