mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
ios test changes (#35510)
* Fix over-byte * Update ios tests to call `provider` To continue to support testing `connection: local` * Fix command dict handling in ios_user * Clean up unit tests, too
This commit is contained in:
parent
d7d9e40dd1
commit
f3337e1fba
49 changed files with 240 additions and 243 deletions
|
@ -6,7 +6,7 @@
|
|||
ios_facts:
|
||||
gather_subset:
|
||||
- all
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- name: test getting default facts
|
||||
ios_facts:
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
ios_facts:
|
||||
gather_subset:
|
||||
- "foobar"
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
|||
gather_subset:
|
||||
- "!hardware"
|
||||
- "hardware"
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
ios_facts:
|
||||
gather_subset:
|
||||
- "!hardware"
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue