aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-08-21 14:38:19 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-08-21 14:38:19 +0200
commit6bacb465e3075a3288db140abeab8daca4d256d0 (patch)
tree43b7692b6dee458495984e108ce2fcd92a238760 /xtesting
parent5947ca93b3b69a727ca21ba865c76c7cce000682 (diff)
Add **kwargs in Energy wrapper()
It's asked by few Functest testcases (rally_full). Change-Id: Ia1c91c9284f703d239542a1ed929f67eae15ca6c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/energy/energy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/energy/energy.py b/xtesting/energy/energy.py
index 76e4873c..14eaf8d7 100644
--- a/xtesting/energy/energy.py
+++ b/xtesting/energy/energy.py
@@ -48,7 +48,7 @@ def enable_recording(method):
attribute
"""
@wraps(method)
- def wrapper(*args):
+ def wrapper(*args, **kwargs): # pylint: disable=unused-argument
"""
Record energy during method execution (implementation).