summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2016-12-30 09:40:12 -0800
committerAdam Williamson <awilliam@redhat.com>2016-12-30 09:40:12 -0800
commit33b29be8cf93572870415b04c21a895ca3edf3ce (patch)
tree82c69a4f0c7fa37c6f9e1ebb8c0f9fc4e7711a0d /setup.py
parentb9d282b6b7c225fb7bb1ac8a8ffde81dae22bf45 (diff)
downloadpython-requests-33b29be8cf93572870415b04c21a895ca3edf3ce.tar.gz
Require pytest-mock for the tests
test_requests.py `test_session_close_proxy_clear` uses the `mocker` fixture, which is provided by pytest-mock.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c2406240..3e0f1555 100755
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ packages = [
]
requires = []
-test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov']
+test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock']
with open('requests/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',