combination of test-requirments(-py2).txt
This commit is contained in:
parent
177ba3510f
commit
8749db575e
4 changed files with 11 additions and 24 deletions
|
|
@ -749,7 +749,7 @@ For py2 instances:
|
||||||
* ``python-psycopg2``
|
* ``python-psycopg2``
|
||||||
* ``tox``
|
* ``tox``
|
||||||
* ``pip==9.0.1``
|
* ``pip==9.0.1``
|
||||||
* ``Other packages are installed by test-requirements-py2.txt.``
|
* ``Other packages are installed by test-requirements.txt.``
|
||||||
|
|
||||||
You can use containers for the tests. Dockerfiles are placed in `devtools/containers` directory.
|
You can use containers for the tests. Dockerfiles are placed in `devtools/containers` directory.
|
||||||
Supported Dockerfiles:
|
Supported Dockerfiles:
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
-e .
|
|
||||||
flake8
|
|
||||||
flake8-import-order
|
|
||||||
mock<=2.0.0
|
|
||||||
requests-mock<1.11.0
|
|
||||||
coverage
|
|
||||||
pytest
|
|
||||||
Cheetah
|
|
||||||
python-multilib
|
|
||||||
python-qpid-proton<0.38.0
|
|
||||||
|
|
@ -1,14 +1,10 @@
|
||||||
-e .
|
-e .
|
||||||
defusedxml
|
-r requirements.txt
|
||||||
flake8
|
mock<=2.0.0;python_version < '3.3'
|
||||||
flake8-import-order
|
requests-mock;python_version >= '3.0'
|
||||||
requests-mock
|
requests-mock<1.11.0;python_version < '3.0'
|
||||||
coverage
|
coverage
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov;python_version >= '3.0'
|
||||||
pytest-xdist
|
pytest-xdist;python_version >= '3.0'
|
||||||
Cheetah3
|
setuptools;python_version >= '3.0'
|
||||||
psycopg2-binary
|
|
||||||
python-multilib
|
|
||||||
python-qpid-proton
|
|
||||||
setuptools
|
|
||||||
|
|
|
||||||
5
tox.ini
5
tox.ini
|
|
@ -4,6 +4,7 @@ envlist = flake8,py2,py3,bandit
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
|
flake8-import-order
|
||||||
# On EL6, pip would get us a flake8 that doesn't work with python2.6. The next
|
# On EL6, pip would get us a flake8 that doesn't work with python2.6. The next
|
||||||
# two lines let us use an RPM-based version from EPEL if it is installed
|
# two lines let us use an RPM-based version from EPEL if it is installed
|
||||||
sitepackages = true
|
sitepackages = true
|
||||||
|
|
@ -47,7 +48,7 @@ commands =
|
||||||
|
|
||||||
[testenv:py2]
|
[testenv:py2]
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements-py2.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHONPATH=.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
PYTHONPATH=.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
||||||
|
|
@ -71,7 +72,7 @@ commands =
|
||||||
# dependencies must be installed.
|
# dependencies must be installed.
|
||||||
[testenv:py2-rpmdeps]
|
[testenv:py2-rpmdeps]
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements-py2.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv:py2]setenv}
|
{[testenv:py2]setenv}
|
||||||
commands_pre =
|
commands_pre =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue