X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=65a62e5fdcdb4248a4001a339556e43d847e81c8;hb=047cf3d4b4cdca8b0ce727777a94bb7ecc51b5ea;hp=e9ea45ef615cb093144d5e693bfdedfdea7d026a;hpb=b3cda2e2d399e761311fbe9e4ffc3b22037d6312;p=osm%2FLCM.git diff --git a/tox.ini b/tox.ini index e9ea45e..65a62e5 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ # limitations under the License. [tox] -envlist = py3 +envlist = flake8, unittest toxworkdir={homedir}/.tox [testenv] @@ -24,10 +24,16 @@ deps = -r{toxinidir}/test-requirements.txt commands=python3 -m unittest discover -v [testenv:flake8] -basepython = python3 +basepython = python3.6 deps = flake8 commands = flake8 osm_lcm --max-line-length 120 \ - --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226,W504 + --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,frontend_grpc.py,frontend_pb2.py \ + --ignore W291,W293,E226,W504 + +[testenv:unittest] +basepython = python3 +deps = asynctest +commands = python3 -m unittest osm_lcm.tests.test_ns [testenv:build] basepython = python3