summaryrefslogtreecommitdiffstats
path: root/pylog/tox.ini
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2020-07-02 12:34:25 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2020-07-13 08:57:03 +0000
commitb437b2c38ec0d5bb234fef0459b0e0533d08b7af (patch)
treea234cd12effde9854b77ea3ceaa6848a80a241b0 /pylog/tox.ini
parentd80e67cc8994fb0b92c8c1b5e3f51bde21b4a791 (diff)
Pylog test suite
Prepare test suite for onaplogging library. Add utils to check Python version. Issue-ID: LOG-1229 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I12c431c10f61fceaf70d5ae36581dfd5a876ef72
Diffstat (limited to 'pylog/tox.ini')
-rw-r--r--pylog/tox.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/pylog/tox.ini b/pylog/tox.ini
index 87209a1..3f92b52 100644
--- a/pylog/tox.ini
+++ b/pylog/tox.ini
@@ -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