Pylog test suite
[logging-analytics.git] / pylog / tox.ini
index 87209a1..3f92b52 100644 (file)
@@ -14,8 +14,7 @@ downloadcache = ~/cache/pip
 
 [testenv]
 basepython = python3
-deps = -r{toxinidir}/requirements.txt
-        pytest
+deps = -r{toxinidir}/test_requirements.txt
         coverage
         pytest-cov
 setenv = PYTHONPATH={toxinidir}/
@@ -25,7 +24,7 @@ commands = pytest
 [testenv:pep8]
 basepython = python3
 deps=flake8
-commands=flake8
+commands=flake8 onaplogging
 
 [flake8]
 basepython = python3
@@ -34,4 +33,4 @@ exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
 
 [testenv:cover]
 basepython = python3
-commands = py.test --cov  onaplogging
+commands = py.test --cov-report term-missing --cov onaplogging