From a01884ca2fb915399043482c37c60a734b3cccb1 Mon Sep 17 00:00:00 2001 From: David Newswanger Date: Mon, 31 Jul 2017 13:37:27 -0400 Subject: [PATCH] added register: result to nxos_interface tests (#27504) --- .../targets/nxos_interface/tests/cli/set_state_absent.yaml | 2 ++ .../targets/nxos_interface/tests/cli/set_state_present.yaml | 2 ++ .../targets/nxos_interface/tests/nxapi/set_state_absent.yaml | 2 ++ .../targets/nxos_interface/tests/nxapi/set_state_present.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/test/integration/targets/nxos_interface/tests/cli/set_state_absent.yaml b/test/integration/targets/nxos_interface/tests/cli/set_state_absent.yaml index 39b153dce3..cf5f222c88 100644 --- a/test/integration/targets/nxos_interface/tests/cli/set_state_absent.yaml +++ b/test/integration/targets/nxos_interface/tests/cli/set_state_absent.yaml @@ -12,6 +12,7 @@ interface: Loopback1 state: absent provider: "{{ cli }}" + register: result - assert: that: @@ -22,6 +23,7 @@ interface: Loopback1 state: absent provider: "{{ cli }}" + register: result - assert: that: diff --git a/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml b/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml index dc8b4dd8b2..eeb2206ebe 100644 --- a/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml +++ b/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml @@ -12,6 +12,7 @@ interface: Loopback1 state: present provider: "{{ cli }}" + register: result - assert: that: @@ -22,6 +23,7 @@ interface: Loopback1 state: present provider: "{{ cli }}" + register: result - assert: that: diff --git a/test/integration/targets/nxos_interface/tests/nxapi/set_state_absent.yaml b/test/integration/targets/nxos_interface/tests/nxapi/set_state_absent.yaml index 10b586a9e8..01c5a243af 100644 --- a/test/integration/targets/nxos_interface/tests/nxapi/set_state_absent.yaml +++ b/test/integration/targets/nxos_interface/tests/nxapi/set_state_absent.yaml @@ -12,6 +12,7 @@ interface: Loopback1 state: absent provider: "{{ nxapi }}" + register: result - assert: that: @@ -22,6 +23,7 @@ interface: Loopback1 state: absent provider: "{{ nxapi }}" + register: result - assert: that: diff --git a/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml b/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml index ca4688eedf..c2f30b7e05 100644 --- a/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml +++ b/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml @@ -12,6 +12,7 @@ interface: Loopback1 state: present provider: "{{ nxapi }}" + register: result - assert: that: @@ -22,6 +23,7 @@ interface: Loopback1 state: present provider: "{{ nxapi }}" + register: result - assert: that: