aboutsummaryrefslogtreecommitdiffstats
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:39:42 +0200
commit5c3521d800a8da2e4e754c2c71c9d2e7c1486299 (patch)
tree789b8f14802fd53328d3c33f8cdd269767d7d337
parent37eddb804b4add0a1c5feac326dd9638f182a82e (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> (cherry picked from commit 6bacb465e3075a3288db140abeab8daca4d256d0)
-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).