chore: fix for testrail report in case of errors

This commit is contained in:
Valentina Novgorodtceva 2024-07-12 13:30:25 +07:00
parent ca8a0028a8
commit db7ec62e68
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def init_testrail_api(request):
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')
return