Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1451: PapiHistory
[csit.git]
/
resources
/
libraries
/
python
/
PapiExecutor.py
diff --git
a/resources/libraries/python/PapiExecutor.py
b/resources/libraries/python/PapiExecutor.py
index
0313284
..
928144e
100644
(file)
--- 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.Constants import Constants
from resources.libraries.python.ssh import SSH, SSHTimeout
+from resources.libraries.python.PapiHistory import PapiHistory
__all__ = ["PapiExecutor", "PapiResponse"]
__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
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
"""
: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
self._api_command_list.append(dict(api_name=command, api_args=kwargs))
return self