Remove provider from iosxr user tests (#33394)

pull/33397/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent 6e36354740
commit 1b31e34d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save