mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
bugfix: UnboundLocalError occured when _run_testset failed
This commit is contained in:
@@ -197,10 +197,9 @@ class Runner(object):
|
||||
try:
|
||||
result = self._run_testset(testset, mapping)
|
||||
assert result["success"]
|
||||
output.update(result["output"])
|
||||
except AssertionError:
|
||||
success = False
|
||||
finally:
|
||||
output.update(result["output"])
|
||||
|
||||
return {
|
||||
"success": success,
|
||||
|
||||
Reference in New Issue
Block a user