Merge "Adjust molecule requirements"

This commit is contained in:
Zuul 2020-03-19 16:09:16 +00:00 committed by Gerrit Code Review
commit 69f0b4a616
2 changed files with 12 additions and 11 deletions

11
molecule-requirements.txt Normal file

@ -0,0 +1,11 @@
ansible
ansi2html # GPL (soft-dependency of pytest-html)
docker
paramiko>=2.5.0 # LGPL (soft-dependency of docker that enables ssh protocol)
pytest
pytest-cov
pytest-html
pytest-molecule
mock
molecule>=3.0,<3.1
selinux>=0.2.1

12
tox.ini

@ -53,16 +53,6 @@ basepython = python3
commands = {posargs}
[testenv:molecule]
deps =
ansible
ansi2html # GPL (soft-dependency of pytest-html)
docker
paramiko>=2.5.0 # LGPL (soft-dependency of docker that enables ssh protocol)
pytest-cov # MIT
pytest-html<=2.0.1 # MPL 2.0
pytest-molecule<=1.2.3 # MIT
selinux # MIT
mock
molecule>=3.0a6
deps = -r{toxinidir}/molecule-requirements.txt
commands =
python -m pytest --color=yes --html={envlogdir}/reports.html --self-contained-html -rA --molecule-unavailable-driver=fail {tty:-s} {posargs:-k 'molecule and docker'}