From 33b29be8cf93572870415b04c21a895ca3edf3ce Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 30 Dec 2016 09:40:12 -0800 Subject: [PATCH] Require pytest-mock for the tests test_requests.py `test_session_close_proxy_clear` uses the `mocker` fixture, which is provided by pytest-mock. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*[\'"]([^\'"]*)[\'"]',