change tox.ini to add all unittexts and .gitignore 91/9591/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 14 Aug 2020 10:45:42 +0000 (10:45 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 14 Aug 2020 11:54:30 +0000 (11:54 +0000)
Change-Id: I800f0020d2fb0c1c9c58d70ca17e2a8030ffd05f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
.gitignore-common
tox.ini

index 08ca7f0..2e84215 100644 (file)
 *.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 (file)
--- 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