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