chore: fix for testrail report in case of errors
This commit is contained in:
parent
ca8a0028a8
commit
db7ec62e68
|
@ -40,7 +40,7 @@ def init_testrail_api(request):
|
||||||
auth=(configs.testrail.USR, configs.testrail.PSW),
|
auth=(configs.testrail.USR, configs.testrail.PSW),
|
||||||
)
|
)
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code in [200, 400]:
|
||||||
LOG.info('TestRail report skipped because of Testrail server error')
|
LOG.info('TestRail report skipped because of Testrail server error')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue