mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Add integration test that modules are loaded from the expected locations (#24170)
* Add integration test that modules are loaded from the expected locations * Fix ping module to pass PEP8
This commit is contained in:
parent
8ba069315e
commit
3428f42120
20 changed files with 555 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Use ping from inside foo role
|
||||
ping:
|
||||
register: result
|
||||
|
||||
- name: Make sure that we used the ping module from the foo role
|
||||
assert:
|
||||
that:
|
||||
- '"location" in result'
|
||||
- 'result["location"] == "{{ expected_location }}"'
|
Loading…
Add table
Add a link
Reference in a new issue