change tox.ini to add all unittexts and .gitignore
Change-Id: I800f0020d2fb0c1c9c58d70ca17e2a8030ffd05f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
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 @@
[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