summaryrefslogtreecommitdiff
path: root/test/integration/targets
diff options
context:
space:
mode:
authorAnsible Core Team <info@ansible.com>2020-03-09 09:40:36 +0000
committerAnsible Core Team <info@ansible.com>2020-03-09 09:40:36 +0000
commit92ff28ec75abca5c6420dffd71a7b2f91aecdcbf (patch)
tree6ba47ee69ec5b3a3c512e8750ee1476811b1c086 /test/integration/targets
parenta3be23f78125630182c6b2c3e43b5f1d821aea7b (diff)
downloadansible-92ff28ec75abca5c6420dffd71a7b2f91aecdcbf.tar.gz
Migrated to dellemc_networking.os10
Diffstat (limited to 'test/integration/targets')
-rw-r--r--test/integration/targets/dellos10_command/defaults/main.yaml2
-rw-r--r--test/integration/targets/dellos10_command/tasks/cli.yaml16
-rw-r--r--test/integration/targets/dellos10_command/tasks/main.yaml2
-rw-r--r--test/integration/targets/dellos10_command/tests/cli/bad_operator.yaml20
-rw-r--r--test/integration/targets/dellos10_command/tests/cli/contains.yaml20
-rw-r--r--test/integration/targets/dellos10_command/tests/cli/invalid.yaml28
-rw-r--r--test/integration/targets/dellos10_command/tests/cli/output.yaml29
-rw-r--r--test/integration/targets/dellos10_command/tests/cli/timeout.yaml19
-rw-r--r--test/integration/targets/dellos10_config/defaults/main.yaml2
-rw-r--r--test/integration/targets/dellos10_config/tasks/cli.yaml15
-rw-r--r--test/integration/targets/dellos10_config/tasks/main.yaml2
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/sublevel.yaml42
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml62
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml66
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml63
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/toplevel.yaml37
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/toplevel_after.yaml44
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/toplevel_before.yaml44
-rw-r--r--test/integration/targets/dellos10_config/tests/cli/toplevel_nonidempotent.yaml39
-rw-r--r--test/integration/targets/dellos10_facts/defaults/main.yaml2
-rw-r--r--test/integration/targets/dellos10_facts/tasks/cli.yaml16
-rw-r--r--test/integration/targets/dellos10_facts/tasks/main.yaml2
-rw-r--r--test/integration/targets/dellos10_facts/tests/cli/facts.yaml48
23 files changed, 0 insertions, 620 deletions
diff --git a/test/integration/targets/dellos10_command/defaults/main.yaml b/test/integration/targets/dellos10_command/defaults/main.yaml
deleted file mode 100644
index 5f709c5aac..0000000000
--- a/test/integration/targets/dellos10_command/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/test/integration/targets/dellos10_command/tasks/cli.yaml b/test/integration/targets/dellos10_command/tasks/cli.yaml
deleted file mode 100644
index 8c11e106f2..0000000000
--- a/test/integration/targets/dellos10_command/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/dellos10_command/tasks/main.yaml b/test/integration/targets/dellos10_command/tasks/main.yaml
deleted file mode 100644
index 415c99d8b1..0000000000
--- a/test/integration/targets/dellos10_command/tasks/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- { include: cli.yaml, tags: ['cli'] }
diff --git a/test/integration/targets/dellos10_command/tests/cli/bad_operator.yaml b/test/integration/targets/dellos10_command/tests/cli/bad_operator.yaml
deleted file mode 100644
index ae77680b41..0000000000
--- a/test/integration/targets/dellos10_command/tests/cli/bad_operator.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
----
-- debug: msg="START cli/bad_operator.yaml"
-
-- name: test bad operator
- dellos10_command:
- commands:
- - show version
- - show interface ethernet 1/1/1
- wait_for:
- - "result[0] contains 'Description : blah'"
- provider: "{{ cli }}"
- register: result
- ignore_errors: yes
-
-- assert:
- that:
- - "result.failed == true"
- - "result.msg is defined"
-
-- debug: msg="END cli/bad_operator.yaml"
diff --git a/test/integration/targets/dellos10_command/tests/cli/contains.yaml b/test/integration/targets/dellos10_command/tests/cli/contains.yaml
deleted file mode 100644
index c62488b904..0000000000
--- a/test/integration/targets/dellos10_command/tests/cli/contains.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
----
-- debug: msg="START cli/contains.yaml"
-
-- name: test contains operator
- dellos10_command:
- commands:
- - show version
- - show interface ethernet 1/1/1
- wait_for:
- - "result[0] contains OS10-Premium"
- - "result[1] contains Ethernet "
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
- - "result.stdout is defined"
-
-- debug: msg="END cli/contains.yaml"
diff --git a/test/integration/targets/dellos10_command/tests/cli/invalid.yaml b/test/integration/targets/dellos10_command/tests/cli/invalid.yaml
deleted file mode 100644
index 14b24b4cbc..0000000000
--- a/test/integration/targets/dellos10_command/tests/cli/invalid.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
----
-- debug: msg="START cli/invalid.yaml"
-
-- name: run invalid command
- dellos10_command:
- commands: ['show foo']
- provider: "{{ cli }}"
- register: result
- ignore_errors: yes
-
-- assert:
- that:
- - "'Error: Unrecognized command' in result.stdout"
-
-- name: run commands that include invalid command
- dellos10_command:
- commands:
- - show version
- - show foo
- provider: "{{ cli }}"
- register: result
- ignore_errors: yes
-
-- assert:
- that:
- - "'Error: Unrecognized command' in result.stdout"
-
-- debug: msg="END cli/invalid.yaml"
diff --git a/test/integration/targets/dellos10_command/tests/cli/output.yaml b/test/integration/targets/dellos10_command/tests/cli/output.yaml
deleted file mode 100644
index 4df528a711..0000000000
--- a/test/integration/targets/dellos10_command/tests/cli/output.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-- debug: msg="START cli/output.yaml"
-
-- name: get output for single command
- dellos10_command:
- commands: ['show version']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
- - "result.stdout is defined"
-
-- name: get output for multiple commands
- dellos10_command:
- commands:
- - show version
- - show interface Eth 1/1/1
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
- - "result.stdout is defined"
- - "result.stdout | length == 2"
-
-- debug: msg="END cli/output.yaml"
diff --git a/test/integration/targets/dellos10_command/tests/cli/timeout.yaml b/test/integration/targets/dellos10_command/tests/cli/timeout.yaml
deleted file mode 100644
index 50d870a0e5..0000000000
--- a/test/integration/targets/dellos10_command/tests/cli/timeout.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
----
-- debug: msg="START cli/timeout.yaml"
-
-- name: test bad condition
- dellos10_command:
- commands:
- - show version
- wait_for:
- - "result[0] contains bad_value_string"
- provider: "{{ cli }}"
- register: result
- ignore_errors: yes
-
-- assert:
- that:
- - "result.failed == true"
- - "result.msg is defined"
-
-- debug: msg="END cli/timeout.yaml"
diff --git a/test/integration/targets/dellos10_config/defaults/main.yaml b/test/integration/targets/dellos10_config/defaults/main.yaml
deleted file mode 100644
index 5f709c5aac..0000000000
--- a/test/integration/targets/dellos10_config/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/test/integration/targets/dellos10_config/tasks/cli.yaml b/test/integration/targets/dellos10_config/tasks/cli.yaml
deleted file mode 100644
index d675462dd0..0000000000
--- a/test/integration/targets/dellos10_config/tasks/cli.yaml
+++ /dev/null
@@ -1,15 +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/dellos10_config/tasks/main.yaml b/test/integration/targets/dellos10_config/tasks/main.yaml
deleted file mode 100644
index 415c99d8b1..0000000000
--- a/test/integration/targets/dellos10_config/tasks/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- { include: cli.yaml, tags: ['cli'] }
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel.yaml
deleted file mode 100644
index b465108d61..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-- debug: msg="START cli/sublevel.yaml"
-
-- name: setup test
- dellos10_config:
- lines:
- - 'no ip access-list test'
- provider: "{{ cli }}"
- match: none
-
-- name: configure sub level command
- dellos10_config:
- lines: ['seq 5 permit ip any any count byte']
- parents: ['ip access-list test']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'ip access-list test' in result.updates"
- - "'seq 5 permit ip any any count byte' in result.updates"
-
-- name: configure sub level command idempotent check
- dellos10_config:
- lines: ['seq 5 permit ip any any count byte']
- parents: ['ip access-list test']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines:
- - 'no ip access-list test'
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/sublevel.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml
deleted file mode 100644
index 06c46b876b..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml
+++ /dev/null
@@ -1,62 +0,0 @@
----
-- debug: msg="START cli/sublevel_block.yaml"
-
-- name: setup
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- parents: ['ip access-list test']
- before: ['no ip access-list test']
- after: ['exit']
- provider: "{{ cli }}"
- match: none
-
-- name: configure sub level command using block resplace
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- parents: ['ip access-list test']
- replace: block
- after: ['exit']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 192.0.2.1 any count byte' in result.updates"
- - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 192.0.2.4 any count byte' in result.updates"
-
-- name: check sub level command using block replace
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- parents: ['ip access-list test']
- replace: block
- after: ['exit']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines:
- - no ip access-list test
- match: none
- provider: "{{ cli }}"
-
-- debug: msg="END cli/sublevel_block.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml
deleted file mode 100644
index abacafd501..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
----
-- debug: msg="START cli/sublevel_exact.yaml"
-
-- name: setup
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- - seq 25 permit ip host 192.0.2.5 any count byte
- parents: ['ip access-list test']
- before: ['no ip access-list test']
- after: ['exit']
- provider: "{{ cli }}"
- match: none
-
-- name: configure sub level command using exact match
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- parents: ['ip access-list test']
- after: ['exit']
- match: exact
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 192.0.2.1 any count byte' in result.updates"
- - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 192.0.2.4 any count byte' in result.updates"
- - "'seq 25 permit ip host 192.0.2.5 any count byte' not in result.updates"
-
-- name: check sub level command using exact match
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- - seq 25 permit ip host 192.0.2.5 any count byte
- parents: ['ip access-list test']
- after: ['exit']
- match: exact
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines:
- - no ip access-list test
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/sublevel_exact.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml
deleted file mode 100644
index 9b23c00ca8..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
----
-- debug: msg="START cli/sublevel_strict.yaml"
-
-- name: setup
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- - seq 25 permit ip host 192.0.2.5 any count byte
- parents: ['ip access-list test']
- before: ['no ip access-list test']
- after: ['exit']
- provider: "{{ cli }}"
- match: none
-
-- name: configure sub level command using strict match
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 20 permit ip host 192.0.2.4 any count byte
- parents: ['ip access-list test']
- match: strict
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: check sub level command using strict match
- dellos10_config:
- lines:
- - seq 5 permit ip host 192.0.2.1 any count byte
- - seq 15 permit ip host 192.0.2.3 any count byte
- - seq 10 permit ip host 192.0.2.2 any count byte
- parents: ['ip access-list test']
- after: ['exit']
- match: strict
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 192.0.2.1 any count byte' not in result.updates"
- - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 192.0.2.4 any count byte' not in result.updates"
- - "'seq 25 permit ip host 192.0.2.5 any count byte' not in result.updates"
-
-- name: teardown
- dellos10_config:
- lines:
- - no ip access-list test
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/sublevel_strict.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/toplevel.yaml b/test/integration/targets/dellos10_config/tests/cli/toplevel.yaml
deleted file mode 100644
index 5cc299d173..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/toplevel.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
----
-- debug: msg="START cli/toplevel.yaml"
-
-- name: setup
- dellos10_config:
- lines: ['hostname {{ inventory_hostname_short }}']
- provider: "{{ cli }}"
- match: none
-
-- name: configure top level command
- dellos10_config:
- lines: ['hostname foo']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'hostname foo' in result.updates"
-
-- name: configure top level command idempotent check
- dellos10_config:
- lines: ['hostname foo']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines: ['hostname {{ inventory_hostname_short }}']
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/toplevel.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/toplevel_after.yaml b/test/integration/targets/dellos10_config/tests/cli/toplevel_after.yaml
deleted file mode 100644
index 3e6dbf1863..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/toplevel_after.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
----
-- debug: msg="START cli/toplevel_after.yaml"
-
-- name: setup
- dellos10_config:
- lines:
- - "snmp-server contact ansible"
- - "hostname {{ inventory_hostname_short }}"
- provider: "{{ cli }}"
- match: none
-
-- name: configure top level command with before
- dellos10_config:
- lines: ['hostname foo']
- after: ['snmp-server contact bar']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'hostname foo' in result.updates"
- - "'snmp-server contact bar' in result.updates"
-
-- name: configure top level command with before idempotent check
- dellos10_config:
- lines: ['hostname foo']
- after: ['snmp-server contact foo']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines:
- - "no snmp-server contact"
- - "hostname {{ inventory_hostname_short }}"
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/toplevel_after.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/toplevel_before.yaml b/test/integration/targets/dellos10_config/tests/cli/toplevel_before.yaml
deleted file mode 100644
index 14768e88d4..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/toplevel_before.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
----
-- debug: msg="START cli/toplevel_before.yaml"
-
-- name: setup
- dellos10_config:
- lines:
- - "snmp-server contact ansible"
- - "hostname {{ inventory_hostname_short }}"
- provider: "{{ cli }}"
- match: none
-
-- name: configure top level command with before
- dellos10_config:
- lines: ['hostname foo']
- before: ['snmp-server contact bar']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'hostname foo' in result.updates"
- - "'snmp-server contact bar' in result.updates"
-
-- name: configure top level command with before idempotent check
- dellos10_config:
- lines: ['hostname foo']
- before: ['snmp-server contact foo']
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
-
-- name: teardown
- dellos10_config:
- lines:
- - "no snmp-server contact"
- - "hostname {{ inventory_hostname_short }}"
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/toplevel_before.yaml"
diff --git a/test/integration/targets/dellos10_config/tests/cli/toplevel_nonidempotent.yaml b/test/integration/targets/dellos10_config/tests/cli/toplevel_nonidempotent.yaml
deleted file mode 100644
index 120cf149bc..0000000000
--- a/test/integration/targets/dellos10_config/tests/cli/toplevel_nonidempotent.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
----
-- debug: msg="START cli/toplevel_nonidempotent.yaml"
-
-- name: setup
- dellos10_config:
- lines: ['hostname {{ inventory_hostname_short }}']
- provider: "{{ cli }}"
- match: none
-
-- name: configure top level command
- dellos10_config:
- lines: ['hostname foo']
- provider: "{{ cli }}"
- match: strict
- register: result
-
-- assert:
- that:
- - "result.changed == true"
- - "'hostname foo' in result.updates"
-
-- name: configure top level command idempotent check
- dellos10_config:
- lines: ['hostname foo']
- provider: "{{ cli }}"
- match: strict
- register: result
-
-- assert:
- that:
- - "result.changed == true"
-
-- name: teardown
- dellos10_config:
- lines: ['hostname {{ inventory_hostname_short }}']
- provider: "{{ cli }}"
- match: none
-
-- debug: msg="END cli/toplevel_nonidempotent.yaml"
diff --git a/test/integration/targets/dellos10_facts/defaults/main.yaml b/test/integration/targets/dellos10_facts/defaults/main.yaml
deleted file mode 100644
index 5f709c5aac..0000000000
--- a/test/integration/targets/dellos10_facts/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/test/integration/targets/dellos10_facts/tasks/cli.yaml b/test/integration/targets/dellos10_facts/tasks/cli.yaml
deleted file mode 100644
index 8c11e106f2..0000000000
--- a/test/integration/targets/dellos10_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/dellos10_facts/tasks/main.yaml b/test/integration/targets/dellos10_facts/tasks/main.yaml
deleted file mode 100644
index 415c99d8b1..0000000000
--- a/test/integration/targets/dellos10_facts/tasks/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- { include: cli.yaml, tags: ['cli'] }
diff --git a/test/integration/targets/dellos10_facts/tests/cli/facts.yaml b/test/integration/targets/dellos10_facts/tests/cli/facts.yaml
deleted file mode 100644
index 9f2d763de0..0000000000
--- a/test/integration/targets/dellos10_facts/tests/cli/facts.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
----
-- debug: msg="START cli/facts.yaml"
-
-- name: test all facts
- dellos10_facts:
- gather_subset:
- - all
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
- - "result.ansible_facts is defined"
- - "result.ansible_facts.ansible_net_interfaces is defined"
- - "result.ansible_facts.ansible_net_memfree_mb is defined"
- - "result.ansible_facts.ansible_net_model is defined"
- - "result.ansible_facts.ansible_net_servicetag is defined"
- - "result.ansible_facts.ansible_net_version is defined"
-
-- name: test all facts except hardware
- dellos10_facts:
- gather_subset:
- - "!hardware"
- provider: "{{ cli }}"
- register: result
-
-- assert:
- that:
- - "result.changed == false"
- - "result.ansible_facts.ansible_net_interfaces is defined"
- - "result.ansible_facts.ansible_net_memfree_mb is not defined"
-
-- name: test interface facts
- dellos10_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_memfree_mb is not defined"
-
-
-- debug: msg="END cli/facts.yaml"