Apply fix from 3b10868 to users tests too

Repeat after me "I'll run a full test suite before pushing changes"
This commit is contained in:
Krzysztof Klimonda
2013-04-05 19:44:16 +02:00
parent c0bf9d992e
commit 2ecda33fed

View File

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