summaryrefslogtreecommitdiff
path: root/test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml')
-rw-r--r--test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml b/test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml
deleted file mode 100644
index 483f04d813..0000000000
--- a/test/integration/targets/eos_acl_interfaces/tests/cli/overridden.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
----
-- debug:
- msg: "Start eos_acl_interfaces overridden integration tests ansible_connection={{ ansible_connection }}"
-
-- include_tasks: _populate.yaml
-
-- block:
-
- - name: override given acl interfaces configuration
- eos_acl_interfaces: &overridden
- config:
- - name: "{{ Interfaces['int2'] }}"
- access_groups:
- - afi: ipv4
- acls:
- - name: aclv401
- direction: in
- state: overridden
- become: yes
- register: result
-
- - assert:
- that:
- - "result.commands|length == 7"
- - "result.changed == true"
- - "result.commands|symmetric_difference(overridden.commands) == []"
-
- - name: Idempotency check
- eos_acl_interfaces: *overridden
- become: yes
- register: result
-
- - assert:
- that:
- - "result.commands|length == 0"
- - "result.changed == false"
-
-
- always:
- - include_tasks: _remove_config.yaml