Fix for SkipTest
Closes-Bug: #1364214 Change-Id: If4bc8bad0991f0f0b71debae10575e6c5bb41213
This commit is contained in:
parent
0fd7a6c573
commit
492f474e6d
|
@ -51,7 +51,7 @@ def log_snapshot_on_error(func):
|
|||
try:
|
||||
return func(*args, **kwagrs)
|
||||
except SkipTest:
|
||||
pass
|
||||
raise SkipTest()
|
||||
except Exception:
|
||||
if args and 'snapshot' in args[0].__dict__:
|
||||
name = 'error_%s' % args[0].snapshot
|
||||
|
|
Loading…
Reference in New Issue