code review feedback

This commit is contained in:
Kenneth Kehl
2024-05-31 09:41:36 -07:00
41 changed files with 281 additions and 108 deletions

View File

@@ -40,7 +40,7 @@ def get_s3_object(
teststr = str(s3.Bucket(bucket_name).creation_date).lower()
if "magicmock" not in teststr:
raise Exception(
f"xxxxxtest not mocked, use @mock_aws creation date is {teststr}"
f"Test is not mocked, use @mock_aws or the relevant mocker.patch to avoid accessing S3"
)
return obj