Remove provider from iosxr user tests (#33394)

This commit is contained in:
Ricardo Carrillo Cruz 2017-11-29 22:36:51 +01:00 committed by GitHub
parent 6e36354740
commit 1b31e34d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
name: auth_user
state: present
configured_password: pass123
provider: "{{ cli }}"
- name: test login
expect:
@ -31,7 +30,6 @@
name: auth_user
state: present
public_key_contents: "{{ lookup('file', \"{{ role_path }}/files/public.pub\") }}"
provider: "{{ cli }}"
- name: test login with private key
expect:
@ -43,7 +41,6 @@
iosxr_user:
name: auth_user
state: absent
provider: "{{ cli }}"
- name: test login with private key (should fail, no user)
expect:
@ -58,7 +55,6 @@
name: auth_user
state: present
public_key: "{{ role_path }}/files/public.pub"
provider: "{{ cli }}"
- name: test login with private key
expect:
@ -72,7 +68,6 @@
name: auth_user
state: present
public_key_contents: "{{ lookup('file', \"{{ role_path }}/files/public2.pub\") }}"
provider: "{{ cli }}"
# FIXME: pexpect fails with OSError: [Errno 5] Input/output error
- name: test login with invalid private key (should fail)
@ -93,5 +88,4 @@
iosxr_user:
name: auth_user
state: absent
provider: "{{ cli }}"
register: result