From e599a01bdcd3b2efc7735f9a432aab6b3dad746f Mon Sep 17 00:00:00 2001 From: David Newswanger Date: Tue, 1 Aug 2017 11:06:33 -0400 Subject: [PATCH] added lines to mode: strict (#27442) --- .../iosxr_config/tests/cli/toplevel_nonidempotent.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml b/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml index f49546efd9e..45d2060d857 100644 --- a/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml @@ -8,7 +8,7 @@ - name: configure top level command iosxr_config: - commands: ['hostname foo'] + commands: ['banner motd "hello world"', 'hostname foo'] match: strict register: result @@ -16,10 +16,11 @@ that: - "result.changed == true" - "'hostname foo' in result.commands" + - "'banner motd \"hello world\"' in result.commands" - name: configure top level command idempotent check iosxr_config: - commands: ['hostname foo'] + commands: ['banner motd "hello world"', 'hostname foo'] match: strict register: result