summaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authormattkohl <matt.kohl@thomsonreuters.com>2017-02-10 10:47:40 +0000
committermattkohl <matt.kohl@thomsonreuters.com>2017-02-10 10:47:40 +0000
commita3e671d717d575b579b7a4fdd710e0d3a63b2bbf (patch)
tree090565fa151cad65a7d4bdc8f1ee36ab947d679e /docs/dev
parent7b190acf82e41f8203143ad08eb8c76aaffc2f14 (diff)
downloadpython-requests-a3e671d717d575b579b7a4fdd710e0d3a63b2bbf.tar.gz
Updated test instructions for Pipenv
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/todo.rst24
1 files changed, 17 insertions, 7 deletions
diff --git a/docs/dev/todo.rst b/docs/dev/todo.rst
index 14dafed3..d4862fbb 100644
--- a/docs/dev/todo.rst
+++ b/docs/dev/todo.rst
@@ -23,13 +23,23 @@ Development Dependencies
You'll need to install py.test in order to run the Requests' test suite::
- $ pip install -r requirements.txt
- $ py.test
- platform darwin -- Python 2.7.3 -- pytest-2.3.4
- collected 25 items
-
- test_requests.py .........................
- 25 passed in 3.50 seconds
+ $ pip install pipenv
+ $ pipenv lock
+ $ pipenv install --dev
+ $ pipenv run py.test tests
+ ============================= test session starts ==============================
+ platform darwin -- Python 3.4.4, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
+ ...
+ collected 445 items
+
+ tests/test_hooks.py ...
+ tests/test_lowlevel.py ............
+ tests/test_requests.py ...........................................................
+ tests/test_structures.py ....................
+ tests/test_testserver.py ...........
+ tests/test_utils.py ..s...........................................................
+
+ ============== 442 passed, 1 skipped, 2 xpassed in 46.48 seconds ===============
Runtime Environments
--------------------