cleanup tests from merge of #2991

This commit is contained in:
2016-02-03 03:35:51 -05:00
parent 5481db22b5
commit 458cb64e3d
4 changed files with 3 additions and 17 deletions
-7
View File
@@ -1,7 +0,0 @@
[run]
omit = */packages/*
[report]
show_missing = true
precision = 2
exclude_lines = pytest.fail
+1
View File
@@ -5,6 +5,7 @@ nosetests.xml
junit-report.xml
pylint.txt
toy.py
tox.ini
violations.pyflakes.txt
cover/
build/
+2 -2
View File
@@ -6,10 +6,10 @@ init:
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 -a "test_requests.py"
py.test test_requests.py
coverage:
python setup.py test -a "--verbose --cov-report term --cov=requests test_requests.py"
py.test --verbose --cov-report term --cov=requests test_requests.py
ci: init
py.test --junitxml=junit.xml
-8
View File
@@ -1,8 +0,0 @@
[tox]
envlist = py26, py27, py33, py34, py35, pypy
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/requests
whitelist_externals = make
commands = make test