Fixed running tests in tox

This commit is contained in:
izderadicka 2016-05-27 08:26:25 +02:00
parent c13f83be4e
commit fadd8da589
2 changed files with 2 additions and 1 deletions

View File

@ -199,6 +199,7 @@ setup(
'autobahn.twisted',
'twisted.plugins'
],
package_data={'autobahn.asyncio': ['test/*']},
zip_safe=False,
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=["License :: OSI Approved :: MIT License",

View File

@ -46,7 +46,7 @@ commands =
sh -c "which python"
python -V
coverage --version
asyncio: coverage run {envbindir}/py.test {envsitepackagesdir}/autobahn/
asyncio: coverage run --source {envsitepackagesdir}/autobahn/ {envbindir}/py.test {envsitepackagesdir}/autobahn/
tw121,tw132,tw154,tw162,twtrunk: coverage run {envbindir}/trial autobahn
coverage report