Commit c904cdf5248543770c6ca8f0b4a1d7d579cee6e1

Authored by dtrenkenshu
Committed by OrysiaDrabych
1 parent cde5d521

Fixed loop

... ... @@ -957,12 +957,11 @@ Library openprocurement_client.utils
957 957 ... [Return] Last document from pre-quailfication
958 958 [Arguments] ${username} ${tender_uaid} ${qualification_id}
959 959 ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id}
960   - ${res}= Create List
  960 + ${res}= Set Variable ${None}
961 961 :FOR ${item} IN @{docs['data']}
962   - \ Run Keyword If '${item.documentType}'=='registerExtract'
963   - \ ... Append To List ${res} ${item}
  962 + \ ${res}= Run Keyword If '${item.documentType}'=='registerExtract' Set Variable ${item}
964 963 Log ${res}
965   - [Return] ${res[-1]}
  964 + [Return] ${res}
966 965
967 966
968 967 Отримати останній документ кваліфікації
... ...
Please register or login to post a comment