fix: display exceptions occurred in debugtalk.py

This commit is contained in:
debugtalk
2018-11-29 14:20:47 +08:00
parent 081d843676
commit 41dc76eac0

View File

@@ -287,7 +287,7 @@ class Runner(object):
except Exception as ex:
meta_datas = test_runner.meta_datas
self.meta_datas.append(meta_datas)
raise exceptions.MyBaseFailure(ex)
raise
def run_test(self, test_dict):
""" run single teststep of testcase.
@@ -330,7 +330,7 @@ class Runner(object):
# api
try:
self._run_test(test_dict)
except:
except Exception:
raise
finally:
self.meta_datas = self.__get_test_data()