diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2017-04-13 09:09:41 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2017-04-26 09:57:43 +0800 |
commit | e3f9edb5064e280056addd6fc47535d3ee1a2435 (patch) | |
tree | ecee7fd75398f91bb8729b685e5109123a7ee5a3 /tox.ini | |
parent | 263682e54a4d75d1f33c76735ffa2fe9debe0161 (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.ini | 13 |
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 |