e2e: skip AttributeError
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
c6eb964b7c
commit
6a8f7a07bf
|
@ -144,9 +144,12 @@ class TestrailReport(BaseTestReport):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
result_id = ''
|
result_id = ''
|
||||||
if last_testrun.error:
|
if last_testrun.error:
|
||||||
for geth in test.geth_paths.keys():
|
try:
|
||||||
self.add_attachment(method='add_attachment_to_result/%s' % str(result_id),
|
for geth in test.geth_paths.keys():
|
||||||
path=test.geth_paths[geth])
|
self.add_attachment(method='add_attachment_to_result/%s' % str(result_id),
|
||||||
|
path=test.geth_paths[geth])
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
self.change_test_run_description()
|
self.change_test_run_description()
|
||||||
|
|
||||||
def change_test_run_description(self):
|
def change_test_run_description(self):
|
||||||
|
|
Loading…
Reference in New Issue