diff options
Diffstat (limited to 'test/integration/targets/dellos9_facts')
4 files changed, 0 insertions, 62 deletions
diff --git a/test/integration/targets/dellos9_facts/defaults/main.yaml b/test/integration/targets/dellos9_facts/defaults/main.yaml deleted file mode 100644 index 5f709c5aac..0000000000 --- a/test/integration/targets/dellos9_facts/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/test/integration/targets/dellos9_facts/tasks/cli.yaml b/test/integration/targets/dellos9_facts/tasks/cli.yaml deleted file mode 100644 index 8c11e106f2..0000000000 --- a/test/integration/targets/dellos9_facts/tasks/cli.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- 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: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/test/integration/targets/dellos9_facts/tasks/main.yaml b/test/integration/targets/dellos9_facts/tasks/main.yaml deleted file mode 100644 index 415c99d8b1..0000000000 --- a/test/integration/targets/dellos9_facts/tasks/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- { include: cli.yaml, tags: ['cli'] } diff --git a/test/integration/targets/dellos9_facts/tests/cli/facts.yaml b/test/integration/targets/dellos9_facts/tests/cli/facts.yaml deleted file mode 100644 index acea51ced6..0000000000 --- a/test/integration/targets/dellos9_facts/tests/cli/facts.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -- debug: msg="START cli/facts.yaml" - -- name: test all facts - dellos9_facts: - gather_subset: - - all - provider: "{{ cli }}" - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts is defined" - -- name: test all facts except hardware - dellos9_facts: - gather_subset: - - "!hardware" - provider: "{{ cli }}" - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts.ansible_net_filesystems is not defined" - -- name: test interface facts - dellos9_facts: - gather_subset: - - interfaces - provider: "{{ cli }}" - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts.ansible_net_interfaces is defined" - - "result.ansible_facts.ansible_net_filesystems is not defined" - - -- debug: msg="END cli/facts.yaml" |