projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug 1396 - Error creating dashboard with same name in two different users
[osm/MON.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
03f2d27
..
595b5a9
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-25,7
+25,7
@@
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
-envlist =
py3, flake8, pylint, cover
+envlist =
cover, py3, flake8
[testenv]
[testenv]
@@
-41,23
+41,15
@@
commands =
[testenv:cover]
basepython = python3
[testenv:cover]
basepython = python3
-setenv = VIRTUAL_ENV={envdir}
- PYTHON=coverage run --source osm_mon --omit='*tests*' --parallel-mode
+deps = nose2
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage erase
commands =
coverage erase
- stestr run {posargs}
- coverage combine
+ nose2 -C --coverage osm_mon --plugin nose2.plugins.junitxml
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
- coverage xml -o ./cover/coverage.xml --omit='*tests*'
-
-[testenv:pylint]
-basepython = python3
-deps = pylint
- -r{toxinidir}/requirements.txt
- -r{toxinidir}/test-requirements.txt
-commands =
- pylint -E osm_mon
+ coverage xml -o coverage.xml --omit='*tests*'
[testenv:flake8]
basepython = python3
[testenv:flake8]
basepython = python3
@@
-76,6
+68,6
@@
commands = python3 setup.py --command-packages=stdeb.command bdist_deb
# E123, E125 skipped as they are invalid PEP-8.
max-line-length = 120
show-source = True
# E123, E125 skipped as they are invalid PEP-8.
max-line-length = 120
show-source = True
-ignore = E123,E125,E241
+ignore = E123,E125,E241
,W503
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst