mirror of
https://github.com/status-im/status-react.git
synced 2025-01-22 16:59:40 +00:00
Fixed adding results to TestRail
This commit is contained in:
parent
44a449660a
commit
e219aaf2b0
@ -193,8 +193,11 @@ class TestrailReport(BaseTestReport):
|
||||
except IndexError:
|
||||
continue
|
||||
for res in results:
|
||||
if re.findall(r"%s\?auth=.*#%s" % (device, str(last_testrun.first_commands[device])),
|
||||
res['comment']):
|
||||
if last_testrun.first_commands:
|
||||
pattern = r"%s\?auth=.*#%s" % (device, str(last_testrun.first_commands[device]))
|
||||
else:
|
||||
pattern = device
|
||||
if re.findall(pattern, res['comment']):
|
||||
res_id = res['id']
|
||||
try:
|
||||
for geth in test.geth_paths.keys():
|
||||
|
Loading…
x
Reference in New Issue
Block a user