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:
|
||||
result_id = ''
|
||||
if last_testrun.error:
|
||||
for geth in test.geth_paths.keys():
|
||||
self.add_attachment(method='add_attachment_to_result/%s' % str(result_id),
|
||||
path=test.geth_paths[geth])
|
||||
try:
|
||||
for geth in test.geth_paths.keys():
|
||||
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()
|
||||
|
||||
def change_test_run_description(self):
|
||||
|
|
Loading…
Reference in New Issue