Browse Source

Apply fix from 3b10868 to users tests too

Repeat after me "I'll run a full test suite before pushing changes"
tags/v1.0.0
Krzysztof Klimonda 11 years ago
parent
commit
2ecda33fed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/users/tests.py

+ 1
- 1
pinry/users/tests.py 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




Loading…
Cancel
Save