restore old behavior

This commit is contained in:
2017-05-27 20:33:32 -04:00
parent 4a28ffcfe9
commit 03944f4cd6
4 changed files with 142 additions and 5 deletions
+10 -4
View File
@@ -1,17 +1,23 @@
.PHONY: docs
init:
pip install -r requirements.txt
pip install pipenv
pipenv install --dev
pipenv run pip install -e .[socks]
test:
# This runs all of the tests. To run an individual test, run py.test with
# the -k flag, like "py.test -k test_path_is_not_double_encoded"
python setup.py test
pipenv run py.test tests
test-readme:
python setup.py check -r -s
pipenv run python setup.py check -r -s
coverage:
py.test --cov-config .coveragerc --verbose --cov-report term --boxed -n 9 --cov-report xml --cov=requests tests
pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
certs:
curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem
publish:
pip install 'twine>=1.5.0'