diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-06-06 07:15:29 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-07-04 04:54:16 +0000 |
commit | d166ae0881c29dfd05ed61b9a12156f17981bb6d (patch) | |
tree | a4d0c939dc99d55d12ba85fedffb33fef9475be2 /resources/libraries/python/VatExecutor.py | |
parent | 036e5a85bab081bfa94b8c025c06aee0addb94cb (diff) |
CSIT-651 Add keywords and template for memif
Add keywords and template for memif
Change-Id: I8bd5cfe345260750a74930c8ef55690be5f2dd5e
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VatExecutor.py')
-rw-r--r-- | resources/libraries/python/VatExecutor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/VatExecutor.py b/resources/libraries/python/VatExecutor.py index bfb7fce4e4..a3f12bf46f 100644 --- a/resources/libraries/python/VatExecutor.py +++ b/resources/libraries/python/VatExecutor.py @@ -245,6 +245,7 @@ class VatTerminal(object): 'sudo -S {}{}'.format(Constants.VAT_BIN_NAME, json_text), self.__VAT_PROMPT) self._exec_failure = False + self.vat_stdout = None def __enter__(self): return self @@ -265,6 +266,7 @@ class VatTerminal(object): try: out = self._ssh.interactive_terminal_exec_command(self._tty, cmd, self.__VAT_PROMPT) + self.vat_stdout = out except: self._exec_failure = True raise |