From: tierno Date: Fri, 14 Aug 2020 10:45:42 +0000 (+0000) Subject: change tox.ini to add all unittexts and .gitignore X-Git-Tag: release-v9.0-start~33 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=commitdiff_plain;h=aac0cbb7981bb3304b9dc194a9ebedd05b45e1d9 change tox.ini to add all unittexts and .gitignore Change-Id: I800f0020d2fb0c1c9c58d70ca17e2a8030ffd05f Signed-off-by: tierno --- diff --git a/.gitignore-common b/.gitignore-common index 08ca7f0..2e84215 100644 --- a/.gitignore-common +++ b/.gitignore-common @@ -18,31 +18,35 @@ *.pyc *.pyo -#auto-ignore +# auto-ignore .gitignore -#logs +# logs logs -#pycharm +# pycharm .idea +venv -#eclipse +# tox +.tox + +# eclipse .project .pydevproject .settings -#local stuff files that end in ".local" or folders called "local" +# local stuff files that end in ".local" or folders called "local" local osm_lcm/local osm_lcm/test/local -#local stuff files that end in ".temp" or folders called "temp" +# local stuff files that end in ".temp" or folders called "temp" *.temp osm_lcm/temp osm_lcm/test/temp -#distribution and package generation +# distribution and package generation build dist *.egg-info diff --git a/tox.ini b/tox.ini index 40b0366..7e5cccf 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ commands = flake8 osm_lcm --max-line-length 120 \ [testenv:unittest] basepython = python3 deps = asynctest -commands = python3 -m unittest osm_lcm.tests.test_ns osm_lcm.tests.test_prometheus +commands = python3 -m unittest discover osm_lcm/tests -v [testenv:build] basepython = python3