mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Unit test added.
This commit is contained in:
parent
9b1107c054
commit
6884e44bb3
@ -86,7 +86,19 @@ def executor(tmpdir_factory, request):
|
||||
- name: Hello Message
|
||||
debug:
|
||||
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):
|
||||
executor.run()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user