[stable-2.9] fix nxos_config tests for httpapi (#62082)

* fix nxos_config tests for httpapi

* Remove become parameter
pull/62221/head
Mike Wiebe 5 years ago committed by Trishna Guha
parent f582d74f7c
commit c4894b512d

@ -25,9 +25,3 @@
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run
- name: run test cases (connection=local)
include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run

@ -66,7 +66,6 @@
backup_options:
filename: backup.cfg
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
become: yes
register: result
- assert:
@ -88,7 +87,6 @@
backup: yes
backup_options:
filename: backup.cfg
become: yes
register: result
- assert:
@ -110,7 +108,6 @@
backup: yes
backup_options:
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
become: yes
register: result
- assert:

Loading…
Cancel
Save