diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-03-05 10:08:30 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-03-06 16:08:55 +0100 |
commit | 2251c68ea3d862b08df030231a1ddf618a2cec2b (patch) | |
tree | 17e6ff255672ba0a04b257b24aa18e39bc88b0f1 /resources/libraries/python/PapiExecutor.py | |
parent | 935734b04269b8fe5348e1c2b168dd5c6cd9339a (diff) |
CSIT-1451: PapiHistory
Change-Id: Idb51f377fe0c196fbe24aab21c294dad595adcd2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r-- | resources/libraries/python/PapiExecutor.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py index 0313284405..928144e058 100644 --- a/resources/libraries/python/PapiExecutor.py +++ b/resources/libraries/python/PapiExecutor.py @@ -20,12 +20,10 @@ from robot.api import logger from resources.libraries.python.Constants import Constants from resources.libraries.python.ssh import SSH, SSHTimeout +from resources.libraries.python.PapiHistory import PapiHistory __all__ = ["PapiExecutor", "PapiResponse"] -# TODO: Implement Papi History -# from resources.libraries.python.PapiHistory import PapiHistory - class PapiResponse(object): """Class for metadata specifying the Papi reply, stdout, stderr and return @@ -148,6 +146,7 @@ class PapiExecutor(object): :returns: self, so that method chaining is possible. :rtype: PapiExecutor """ + PapiHistory.add_to_papi_history(self._node, command, **kwargs) self._api_command_list.append(dict(api_name=command, api_args=kwargs)) return self |