diff --git a/pinry/users/tests.py b/pinry/users/tests.py index 10b3ba6..e21c0af 100644 --- a/pinry/users/tests.py +++ b/pinry/users/tests.py @@ -10,7 +10,7 @@ from .models import User def mock_requests_get(url): - response = mock.Mock(content=open('logo.png').read()) + response = mock.Mock(content=open('logo.png', 'rb').read()) return response