summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/tox.ini
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2020-02-28 12:20:08 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2020-03-04 18:50:37 -0500
commit2f2980df45d2d08c7a48c4a744bd893828f725f9 (patch)
treed97a7ef1fd66f702a37757bef61491122141d3a8 /oti/event-handler/tox.ini
parent38808a23e76deb763a39f457a15b2ef56282b609 (diff)
Initial unit test coverage
Issue-ID: DCAEGEN2-1922 Change-Id: Ibd50c9d87583244c0e82a9f050e0e795cde72f27 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'oti/event-handler/tox.ini')
-rw-r--r--oti/event-handler/tox.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/oti/event-handler/tox.ini b/oti/event-handler/tox.ini
index 2532eb9..b801f95 100644
--- a/oti/event-handler/tox.ini
+++ b/oti/event-handler/tox.ini
@@ -1,4 +1,16 @@
+# tox
[tox]
envlist = py36
+skip_missing_interpreters = true
[testenv]
+deps=
+ -rrequirements.txt
+ pytest
+ coverage
+ pytest-cov
+setenv =
+ PYTHONPATH={toxinidir}
+recreate = True
+commands=
+ pytest --cov otihandler --cov-report=xml --cov-report=term --verbose tests