mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI tests: Make possible to use kwargs with @screenshot decorator
Reviewed-By: Petr Cech <pcech@redhat.com>
This commit is contained in:
parent
8f2a75cb00
commit
8954521007
@ -95,9 +95,9 @@ def screenshot(fn):
|
||||
Should be applied on methods of UI_driver subclasses
|
||||
"""
|
||||
@wraps(fn)
|
||||
def screenshot_wrapper(*args):
|
||||
def screenshot_wrapper(*args, **kwargs):
|
||||
try:
|
||||
return fn(*args)
|
||||
return fn(*args, **kwargs)
|
||||
except unittest.SkipTest:
|
||||
raise
|
||||
except Exception:
|
||||
|
Loading…
Reference in New Issue
Block a user