mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Integration tests for Infoblox 2.5 modules (#40344)
* Update nios.py * Update nios.py * Update nios.py * nios lookup errors out when there are no results #37970 Open Indentation failure issue resolved * Returning empty list instead of None In case of no results, res will be returned as an empty list instead of None (implementing ganeshrn comment) * infoblox ipv6 support changes * infoblox ipv6 support changes * for fixing pep8 errors * moving ipaddr check to utils * adding ipv6addr check * increasing space to resolve pep8 error * modified the playbook examples to valid ones * Update nios_network.py * integration tests for nios 2.5 modules * modification done in existing integration nios testcases * dns_view nios module tc * host_record nios module tc * network nios module tc * network_view nios module tc * zone nios module tc * changes to fix shippabe errors for PR 40344 * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable fix * PR40344 shippable error fix * 40344 shippable fix * 40344 shippable fix * 40344 shippable fix * 40344 shippable fix * 40344 shippable fix * 40344 shippable fix * PR40344 shippable error fix for block comment should start with '# '
This commit is contained in:
parent
89732a1e5f
commit
fc8663edc0
40 changed files with 905 additions and 4 deletions
1
test/integration/targets/nios_host_record/aliases
Normal file
1
test/integration/targets/nios_host_record/aliases
Normal file
|
@ -0,0 +1 @@
|
|||
unsupported
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
testcase: "*"
|
||||
test_items: []
|
2
test/integration/targets/nios_host_record/meta/main.yaml
Normal file
2
test/integration/targets/nios_host_record/meta/main.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- prepare_nios_tests
|
22
test/integration/targets/nios_host_record/tasks/cli.yaml
Normal file
22
test/integration/targets/nios_host_record/tasks/cli.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: collect all cli test cases
|
||||
find:
|
||||
paths: "{{ role_path }}/tests/cli"
|
||||
patterns: "{{ testcase }}.yaml"
|
||||
register: test_cases
|
||||
delegate_to: localhost
|
||||
|
||||
- name: set test_items
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
||||
|
||||
- name: run test cases (connection=network_cli)
|
||||
include: "{{ test_case_to_run }} "
|
||||
with_items: "{{ test_items }}"
|
||||
loop_control:
|
||||
loop_var: test_case_to_run
|
||||
|
||||
- name: run test case (connection=local)
|
||||
include: "{{ test_case_to_run }} ansible_connection=local"
|
||||
with_first_found: "{{ test_items }}"
|
||||
loop_control:
|
||||
loop_var: test_case_to_run
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
- { include: cli.yaml, tags: ['cli'] }
|
Loading…
Add table
Add a link
Reference in a new issue