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

@ -4,7 +4,7 @@
ios_banner:
banner: login
state: absent
authorize: yes
provider: "{{ cli }}"
- name: Set login
@ -15,7 +15,7 @@
that has a multiline
string
state: present
authorize: yes
provider: "{{ cli }}"
register: result
@ -35,7 +35,7 @@
that has a multiline
string
state: present
authorize: yes
provider: "{{ cli }}"
register: result

View file

@ -4,7 +4,7 @@
ios_banner:
banner: motd
state: absent
authorize: yes
provider: "{{ cli }}"
- name: Set motd
@ -15,7 +15,7 @@
that has a multiline
string
state: present
authorize: yes
provider: "{{ cli }}"
register: result
@ -35,7 +35,7 @@
that has a multiline
string
state: present
authorize: yes
provider: "{{ cli }}"
register: result

View file

@ -6,13 +6,13 @@
Junk login banner
over multiple lines
state: present
authorize: yes
provider: "{{ cli }}"
- name: remove login
ios_banner:
banner: login
state: absent
authorize: yes
provider: "{{ cli }}"
register: result
- debug:
@ -27,7 +27,7 @@
ios_banner:
banner: login
state: absent
authorize: yes
provider: "{{ cli }}"
register: result
- assert: