X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=ff6431e819dc706b042fe28954057ae4112f2671;hp=0000000000000000000000000000000000000000;hb=c3e6c2ec9a1fddfc8e9bd31509b366e633b6d99e;hpb=1a15d1c84fc826fa7996c1c9d221a324edd33432 diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..ff6431e --- /dev/null +++ b/tox.ini @@ -0,0 +1,25 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = lint,py35 +skipsdist=True + +[testenv] +basepython=python3 +usedevelop=True +# for testing with other python versions +commands=nosetests +deps = + nose + mock + pyyaml + +[testenv:lint] +envdir = {toxworkdir}/py35 +commands = + flake8 --ignore E501 {posargs} juju tests +deps = + flake8