mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Unit test added.
This commit is contained in:
@@ -86,7 +86,19 @@ def executor(tmpdir_factory, request):
|
|||||||
- name: Hello Message
|
- name: Hello Message
|
||||||
debug:
|
debug:
|
||||||
msg: "Hello World!"
|
msg: "Hello World!"
|
||||||
'''} # noqa
|
'''}, # noqa
|
||||||
|
{'results_included.yml': '''
|
||||||
|
- name: Run module which generates results list
|
||||||
|
connection: local
|
||||||
|
hosts: all
|
||||||
|
gather_facts: no
|
||||||
|
vars:
|
||||||
|
results: ['foo', 'bar']
|
||||||
|
tasks:
|
||||||
|
- name: Generate results list
|
||||||
|
debug:
|
||||||
|
var: results
|
||||||
|
'''}, # noqa
|
||||||
])
|
])
|
||||||
def test_callback_plugin_receives_events(executor, cache, event, playbook):
|
def test_callback_plugin_receives_events(executor, cache, event, playbook):
|
||||||
executor.run()
|
executor.run()
|
||||||
|
|||||||
Reference in New Issue
Block a user