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:
Nathaniel Case 2018-02-02 09:50:15 -05:00 committed by GitHub
commit f3337e1fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 240 additions and 243 deletions

View file

@ -6,7 +6,7 @@
ios_facts:
gather_subset:
- all
authorize: yes
provider: "{{ cli }}"
register: result

View file

@ -4,7 +4,7 @@
- name: test getting default facts
ios_facts:
authorize: yes
provider: "{{ cli }}"
register: result
- assert:

View file

@ -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

View file

@ -6,7 +6,7 @@
ios_facts:
gather_subset:
- "!hardware"
authorize: yes
provider: "{{ cli }}"
register: result
- assert: