diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-08-21 14:38:19 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-08-21 14:38:19 +0200 |
commit | 6bacb465e3075a3288db140abeab8daca4d256d0 (patch) | |
tree | 43b7692b6dee458495984e108ce2fcd92a238760 /xtesting | |
parent | 5947ca93b3b69a727ca21ba865c76c7cce000682 (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.py | 2 |
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). |