From 2d8245d49cc47757978614fa9485a7bd4590a451 Mon Sep 17 00:00:00 2001 From: jorge jardines Date: Sat, 25 May 2019 19:32:52 +0200 Subject: [PATCH] Fix small issue in README example (#1804) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56f73e28e..70faee2c8 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ def test_my_model_save(): body = conn.Object('mybucket', 'steve').get()['Body'].read().decode("utf-8") - assert body == b'is awesome' + assert body == 'is awesome' ``` With the decorator wrapping the test, all the calls to s3 are automatically mocked out. The mock keeps the state of the buckets and keys.