File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Thumbs.db
55._ *
66* .pyc
77.coverage
8+ htmlcov
89cover /*
910.tox
1011docs /_build /*
Original file line number Diff line number Diff line change 1- [nosetests]
2- verbosity =1
3- detailed-errors =1
1+ [pytest]
2+ python_files = *_tests.py
43
54[wheel]
65universal =1
Original file line number Diff line number Diff line change 3030 'sl = SoftLayer.CLI.deprecated:main' ,
3131 ],
3232 },
33- test_suite = 'nose.collector' ,
3433 install_requires = [
3534 'six >= 1.7.0' ,
3635 'prettytable >= 0.7.0' ,
Original file line number Diff line number Diff line change 11tox
2- nose
2+ pytest
3+ pytest-cov
34mock
4- coverage
55sphinx
66testtools
Original file line number Diff line number Diff line change @@ -6,16 +6,15 @@ setenv =
66 LANG = {env:LANG:C.UTF-8}
77
88deps = -r{toxinidir}/tools/test-requirements.txt
9- commands = nosetests
9+ commands = py.test SoftLayer
1010
1111[testenv:coverage]
1212basepython = python2.7
13- commands = nosetests \
14- --with-coverage \
15- --cover-min-percentage =78 \
16- --cover-erase \
17- --cover-package =SoftLayer \
18- --cover-html
13+ commands = py.test SoftLayer \
14+ --cov =SoftLayer \
15+ --cov-fail-under =78 \
16+ --cov-report =html \
17+ --cov-report =term-missing
1918
2019[testenv:analysis]
2120basepython = python2.7
You can’t perform that action at this time.
0 commit comments