summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-04-13 09:09:41 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-04-26 09:57:43 +0800
commite3f9edb5064e280056addd6fc47535d3ee1a2435 (patch)
treeecee7fd75398f91bb8729b685e5109123a7ee5a3 /tox.ini
parent263682e54a4d75d1f33c76735ffa2fe9debe0161 (diff)
add framework and tox
JIRA: DOCTOR-93 Change-Id: Ife3255c4fe2d170c5d1b8354aaab24d5b1e3bc64 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..c859582e
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+minversion = 2.3.1
+envlist = verify
+skipsdist = True
+
+[testenv]
+install_command = pip install -U {opts} {packages}
+setenv = VIRTUAL_ENV={envdir}
+deps = -r{toxinidir}/test-requirements.txt
+
+[testenv:verify]
+changedir = {toxinidir}/tests
+commands = python main.py