From e9a041105936c703544e0957d07b1e6db4ed2abf Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Mon, 24 Jul 2017 10:10:47 +0200 Subject: [PATCH] Assert username and secret is within first element of results (#27219) --- test/integration/targets/iosxr_user/tests/cli/basic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/iosxr_user/tests/cli/basic.yaml b/test/integration/targets/iosxr_user/tests/cli/basic.yaml index 2ebf5d23e03..09e1f93567e 100644 --- a/test/integration/targets/iosxr_user/tests/cli/basic.yaml +++ b/test/integration/targets/iosxr_user/tests/cli/basic.yaml @@ -10,8 +10,8 @@ - assert: that: - 'result.changed == true' - - '"username" in result.commands' - - '"secret" in result.commands' + - '"username" in result.commands[0]' + - '"secret" in result.commands[0]' - name: Collection of users (SetUp) iosxr_user: