mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 09:05:41 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user