From fadd8da589f885c8ce89285496e67687c55624f3 Mon Sep 17 00:00:00 2001 From: izderadicka Date: Fri, 27 May 2016 08:26:25 +0200 Subject: [PATCH] Fixed running tests in tox --- setup.py | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4027c3ca..4a74cccb 100644 --- a/setup.py +++ b/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", diff --git a/tox.ini b/tox.ini index 24be1bf6..97605313 100644 --- a/tox.ini +++ b/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