Fix tests for py3.

This commit is contained in:
Steve Pulec 2017-02-23 22:28:09 -05:00
commit 3c0c4c2996
10 changed files with 16 additions and 20 deletions

View file

@ -71,7 +71,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'
@mock_s3