2f46f8f944
* Support for network_cli plugin and tests * Fixed ansible-test * issues * Fixed Pylint warning * Fixed the sanity test errors * Fix YAMLlinter issue - removed blank spaces * Fixed Python 3 failures * Fixed the PEP8 issue * Fix sanity --test validate-modules * Reverted the changes to the doc fragments
14 lines
334 B
YAML
Executable file
14 lines
334 B
YAML
Executable file
---
|
|
- name: collect all cli test cases
|
|
find:
|
|
paths: "{{ role_path }}/tests/cli"
|
|
patterns: "{{ testcase }}.yaml"
|
|
register: test_cases
|
|
|
|
- name: set test_items
|
|
set_fact:
|
|
test_items: "{{ test_cases.files | map(attribute='path') | list }}"
|
|
|
|
- name: run test case
|
|
include: "{{ item }}"
|
|
with_items: "{{ test_items }}"
|