Adjust molecule requirements
This change uses the same pytest/molecule requirements spec as tripleo-quickstart and breaks out the requirements into their own file. [1] https://review.opendev.org/#/c/713532/ Closes-Bug: #1867035 Change-Id: I728183f608eb7ab9571d66cc8c515fe52f4dafc0
This commit is contained in:
parent
ffd8f24e0a
commit
1b5274793b
11
molecule-requirements.txt
Normal file
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
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'}
|
||||
|
Loading…
Reference in New Issue
Block a user