From bbb1ceba753ae805dea7d7d8b410515651a6620e Mon Sep 17 00:00:00 2001
From: Trishna Guha <trishnaguha17@gmail.com>
Date: Mon, 11 Sep 2017 14:15:56 +0530
Subject: [PATCH] fix nxos_command nxapi test output (#29436)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
---
 .../integration/targets/nxos_command/tests/nxapi/sanity.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml b/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
index 47e3cce0f85..b457624c965 100644
--- a/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
+++ b/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
@@ -41,8 +41,9 @@
 
   - name: "Run show running-config bgp - should pass"
     nxos_command:
-      commands:
-        - sh running-config bgp
+      commands: 
+        - command: sh running-config bgp
+          output: text
       provider: "{{ nxapi }}"
     register: result