Code Review
/
testsuite
/
python-testing-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update INFO.yaml with new PTL
[testsuite/python-testing-utils.git]
/
robotframework-onap
/
tox.ini
diff --git
a/robotframework-onap/tox.ini
b/robotframework-onap/tox.ini
index
f7276b4
..
953b640
100644
(file)
--- a/
robotframework-onap/tox.ini
+++ b/
robotframework-onap/tox.ini
@@
-1,45
+1,37
@@
[tox]
[tox]
-envlist = py3,pep8,pylint,py27
+envlist = pep8,pylint,py3
+distdir = {toxinidir}/dist
modules =
ONAPLibrary
vcpeutils
[testenv]
modules =
ONAPLibrary
vcpeutils
[testenv]
-usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
+install_command = pip install {opts} {packages}
[testenv:pep8]
[testenv:pep8]
-basepython = python3
+basepython = python3
.8
changedir = {toxinidir}
commands =
flake8 --max-line-length 120 {[tox]modules}
changedir = {toxinidir}
commands =
flake8 --max-line-length 120 {[tox]modules}
-install_command = pip3 install {opts} {packages}
[testenv:pylint]
[testenv:pylint]
-basepython = python3
+basepython = python3
.8
deps =
pyflakes
pylint
commands =
pylint -f parseable --ignore-imports=y --disable=locally-disabled --max-line-length 120 --exit-zero -ry {[tox]modules}
deps =
pyflakes
pylint
commands =
pylint -f parseable --ignore-imports=y --disable=locally-disabled --max-line-length 120 --exit-zero -ry {[tox]modules}
-install_command = pip3 install {opts} {packages}
[testenv:py3]
[testenv:py3]
-basepython = python3
+basepython = python3
.8
commands = nosetests --with-xunit \
--all-modules \
--with-coverage \
--cover-tests \
commands = nosetests --with-xunit \
--all-modules \
--with-coverage \
--cover-tests \
- --cover-package=
.
\
+ --cover-package=
ONAPLibrary,vcpeutils
\
--cover-xml \
--cover-html \
tests
--cover-xml \
--cover-html \
tests
-install_command = pip3 install {opts} {packages}
-
-[testenv:py27]
-basepython = python2.7
-commands =
- nosetests --all-modules tests
-install_command = pip install {opts} {packages}
\ No newline at end of file