Fix for SkipTest

Closes-Bug: #1364214

Change-Id: If4bc8bad0991f0f0b71debae10575e6c5bb41213
This commit is contained in:
NastyaUrlapova 2014-09-02 10:23:51 +04:00
parent 0fd7a6c573
commit 492f474e6d
1 changed files with 1 additions and 1 deletions

View File

@ -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