forked from extern/httpie-cli
Fixed tests.
This commit is contained in:
parent
0572158ba1
commit
fba3912f2e
3
tests/tests.py
Normal file → Executable file
3
tests/tests.py
Normal file → Executable file
@ -21,6 +21,7 @@ import json
|
|||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
import argparse
|
import argparse
|
||||||
|
import requests
|
||||||
from requests.compat import is_py26, is_py3, str
|
from requests.compat import is_py26, is_py3, str
|
||||||
|
|
||||||
|
|
||||||
@ -714,7 +715,7 @@ class ArgumentParserTestCase(unittest.TestCase):
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
class FakeResponse(Response):
|
class FakeResponse(requests.Response):
|
||||||
|
|
||||||
class Mock(object):
|
class Mock(object):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user