refactor tests around py.test
This commit is contained in:
parent
1d659b1b21
commit
f69e313ce3
2
setup.py
2
setup.py
|
@ -96,4 +96,4 @@ setuptools.setup(
|
|||
install_requires=[
|
||||
'pycrypto >= 2.5'
|
||||
],
|
||||
cmdclass={'test': TestCommand, 'sdist': eo_sdist})
|
||||
)
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -6,8 +6,8 @@
|
|||
[testenv]
|
||||
# django.contrib.auth is not tested it does not work with our templates
|
||||
commands =
|
||||
coverage erase
|
||||
coverage run --source=. -a ./setup.py test
|
||||
coverage xml
|
||||
py.test --junitxml=junit.xml --cov-report xml --cov=eopayment/ tests
|
||||
usedevelop = True
|
||||
deps = coverage
|
||||
pytest
|
||||
pytest-cov
|
||||
|
|
Loading…
Reference in New Issue