Move test_json_error_callback params into molecule
This change moves the environment parameters from the tox config into the role specific molecule config. This is being done for test clarity as the tox environment is obscuring the required configuration for the plugin. Change-Id: I115a3ba6fca5f989299136ec40da37f52b6cddef Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
parent
7c23a01bd7
commit
0bf4186e3d
5
tox.ini
5
tox.ini
@ -139,11 +139,6 @@ commands =
|
||||
python -m pytest --color=yes --html={envlogdir}/reports.html --self-contained-html {tty:-s} {toxinidir}/tests/test_molecule.py
|
||||
|
||||
[testenv:mol-test_json_error_callback]
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
JSON_ERROR_LOG_FILE=/tmp/json_error.log
|
||||
ANSIBLE_LOAD_CALLBACK_PLUGINS=true
|
||||
ANSIBLE_CALLBACK_WHITELIST=json_error
|
||||
basepython = {[testenv:mol]basepython}
|
||||
deps = {[testenv:mol]deps}
|
||||
changedir = {toxinidir}/tripleo_ansible/roles/test_json_error_callback
|
||||
|
@ -30,9 +30,13 @@ platforms:
|
||||
|
||||
provisioner:
|
||||
name: ansible
|
||||
config_options:
|
||||
defaults:
|
||||
callback_whitelist: json_error
|
||||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
JSON_ERROR_LOG_FILE: /tmp/json_error.log
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
Loading…
Reference in New Issue
Block a user