Fixed running tests in tox
This commit is contained in:
1
setup.py
1
setup.py
@@ -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",
|
||||
|
2
tox.ini
2
tox.ini
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user