Commit 6e5683a1945cbe1e3b20c9b6f9c51838e78568b3

Authored by dtrenkenshu
Committed by OrysiaDrabych
1 parent f2051747

Fixed to account for possibility of non-existent documentType field

... ... @@ -959,7 +959,7 @@ Library openprocurement_client.utils
959 959 ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id}
960 960 ${res}= Set Variable ${None}
961 961 :FOR ${item} IN @{docs['data']}
962   - \ ${res}= Run Keyword If '${item.documentType}'=='registerExtract' Set Variable ${item}
  962 + \ ${res}= Run Keyword If $item.get('documentType')=='registerExtract' Set Variable ${item}
963 963 Log ${res}
964 964 [Return] ${res}
965 965
... ... @@ -973,7 +973,7 @@ Library openprocurement_client.utils
973 973 ${docs}= Run As ${username} Отримати список документів по кваліфікації ${tender_uaid} ${award_id}
974 974 ${res}= Set Variable ${None}
975 975 :FOR ${item} IN @{docs['data']}
976   - \ ${res}= Run Keyword If '${item.documentType}'=='registerExtract' Set Variable ${item}
  976 + \ ${res}= Run Keyword If $item.get('documentType')=='registerExtract' Set Variable ${item}
977 977 Log ${res}
978 978 [Return] ${res}
979 979
... ...
Please register or login to post a comment