Fix small issue in README example (#1804)

This commit is contained in:
jorge jardines 2019-05-25 19:32:52 +02:00 committed by Terry Cain
parent 71f83d7e4f
commit 2d8245d49c

View File

@ -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.