diff options
author | xinhuili <lxinhui@vmware.com> | 2017-09-13 00:33:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-13 00:33:33 +0000 |
commit | d4123e672586bc38820d6a00d7f0103b4e10b103 (patch) | |
tree | 76ac23441cf31de2124c276516ef026927836125 /multivimbroker/tox.ini | |
parent | 363bd35940c079bf364ca9b5b4c4f3915972df63 (diff) | |
parent | 7bd792729198f1a04eac6d2042c7a03a632814a0 (diff) |
Merge "Add code coverage for multicloud framework"
Diffstat (limited to 'multivimbroker/tox.ini')
-rw-r--r-- | multivimbroker/tox.ini | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/multivimbroker/tox.ini b/multivimbroker/tox.ini index 88d43d9..4db044a 100644 --- a/multivimbroker/tox.ini +++ b/multivimbroker/tox.ini @@ -7,8 +7,21 @@ downloadcache = ~/cache/pip [testenv] deps = -r{toxinidir}/requirements.txt -commands = coverage run --branch manage.py test multivimbroker +commands = + /usr/bin/find . -type f -name "*.py[c|o]" -delete + python manage.py test multivimbroker [testenv:pep8] deps=flake8 commands=flake8 + +[testenv:py27] +commands = + {[testenv]commands} + +[testenv:cover] +setenv= + DJANGO_SETTINGS_MODULE = multivimbroker.settings-cover +commands = + coverage erase + {[testenv]commands} |