Commit 6e5683a1945cbe1e3b20c9b6f9c51838e78568b3
Committed by
OrysiaDrabych
1 parent
f2051747
Fixed to account for possibility of non-existent documentType field
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -959,7 +959,7 @@ Library openprocurement_client.utils | @@ -959,7 +959,7 @@ Library openprocurement_client.utils | ||
959 | ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id} | 959 | ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id} |
960 | ${res}= Set Variable ${None} | 960 | ${res}= Set Variable ${None} |
961 | :FOR ${item} IN @{docs['data']} | 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 | Log ${res} | 963 | Log ${res} |
964 | [Return] ${res} | 964 | [Return] ${res} |
965 | 965 | ||
@@ -973,7 +973,7 @@ Library openprocurement_client.utils | @@ -973,7 +973,7 @@ Library openprocurement_client.utils | ||
973 | ${docs}= Run As ${username} Отримати список документів по кваліфікації ${tender_uaid} ${award_id} | 973 | ${docs}= Run As ${username} Отримати список документів по кваліфікації ${tender_uaid} ${award_id} |
974 | ${res}= Set Variable ${None} | 974 | ${res}= Set Variable ${None} |
975 | :FOR ${item} IN @{docs['data']} | 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 | Log ${res} | 977 | Log ${res} |
978 | [Return] ${res} | 978 | [Return] ${res} |
979 | 979 |
Please
register
or
login
to post a comment