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

Loading…
Cancel
Save