瀏覽代碼

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 年之前
父節點
當前提交
2ecda33fed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      pinry/users/tests.py

+ 1
- 1
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




Loading…
取消
儲存