diff options
author | Vijay VK <vv770d@att.com> | 2018-03-27 02:05:36 +0100 |
---|---|---|
committer | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-28 00:08:38 -0400 |
commit | 339ca1c5d3c9f138a13ae82c181b001df43645eb (patch) | |
tree | 8e7685bad1508786503dad76073e418c1dfc19fe /tox.ini | |
parent | e0b9a69c01845eb32baaf9029b1775b81d78906f (diff) |
fix tox setup for snmptrap
Change-Id: I39adcd37cab64937af182c4716cba0cfaba6c7a2
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-271
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +# content of: tox.ini , put in same dir as setup.py +[tox] +envlist = py27 + +[testenv] +deps= + -rrequirements.txt + pytest + coverage + pytest-cov +setenv = + PYTHONPATH={toxinidir} +recreate = True +commands= + pytest --cov snmptrap --cov-report=xml --cov-report=term tests --verbose |