mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
Fix: Fix test-failure for request-test
This commit is contained in:
@@ -9,7 +9,7 @@ from core.models import Image, Pin
|
||||
from .models import User
|
||||
|
||||
|
||||
def mock_requests_get(url):
|
||||
def mock_requests_get(url, headers=None):
|
||||
response = mock.Mock(content=open('logo.png', 'rb').read())
|
||||
return response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user