summaryrefslogtreecommitdiffstats
path: root/vesagent/tox.ini
diff options
context:
space:
mode:
authorArun Arora <aroraarun@vmware.com>2017-09-26 21:57:03 +0530
committerArun Arora <aroraarun@vmware.com>2017-10-16 17:12:45 +0530
commite4a8fb1d9a9106a03cf2c30b8165966567339a11 (patch)
tree272ccfda5393e797705795ade21bda1d9aafde77 /vesagent/tox.ini
parent3406b48e1526dd7723f534d8d36ad183b01cbd06 (diff)
VMWare vesagent for FCAPS
Fix python verify job fail issue Change-Id: If4b7f82fe7175a4d018cd5c5232217e98824c0bd Issue-ID: MULTICLOUD-8 Signed-off-by: Arun Arora <aroraarun@vmware.com>
Diffstat (limited to 'vesagent/tox.ini')
-rw-r--r--vesagent/tox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/vesagent/tox.ini b/vesagent/tox.ini
new file mode 100644
index 0000000..4f9b7ed
--- /dev/null
+++ b/vesagent/tox.ini
@@ -0,0 +1,19 @@
+[tox]
+envlist = py27,pep8
+skipsdist = true
+
+[tox:jenkins]
+downloadcache = ~/cache/pip
+
+[testenv]
+deps =
+ # for unit test
+ django-nose>=1.4.0
+ coverage==4.2
+ mock==2.0.0
+ unittest_xml_reporting==1.12.0
+ -r{toxinidir}/docker/opt/requirements.txt
+changedir={toxinidir}/py
+commands =
+ /usr/bin/find . -type f -name "*.py[c|o]" -delete
+ python test_getAllVmInfo.py -v