mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
cleanup tests from merge of #2991
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
[run]
|
||||
omit = */packages/*
|
||||
|
||||
[report]
|
||||
show_missing = true
|
||||
precision = 2
|
||||
exclude_lines = pytest.fail
|
||||
@@ -5,6 +5,7 @@ nosetests.xml
|
||||
junit-report.xml
|
||||
pylint.txt
|
||||
toy.py
|
||||
tox.ini
|
||||
violations.pyflakes.txt
|
||||
cover/
|
||||
build/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user