Commit 85280894ab01db2785a45eb3de0404db6f6c05d2

Authored by Krokop
1 parent 65306651

fix #299

... ... @@ -138,7 +138,7 @@ def test_tender_data_limited(params):
138 138 del data["enquiryPeriod"]
139 139 del data["tenderPeriod"]
140 140 for lot in data.get('lots', []):
141   - del lot['minimalStep']
  141 + lot.pop('minimalStep', None)
142 142 data["procuringEntity"]["kind"] = "general"
143 143 data.update({"procurementMethodType": params['mode'], "procurementMethod": "limited"})
144 144 if params['mode'] == "negotiation":
... ...
... ... @@ -259,9 +259,10 @@ Get Broker Property By Username
259 259
260 260 Підготувати дані про постачальника
261 261 [Arguments] ${username} ${lotIndex}=${-1}
  262 + ${lotIndex}= Convert To Number ${lotIndex}
262 263 ${supplier_data}= test_supplier_data
263   - Run Keyword If ${lotIndex} > -1 Set To Dictionary ${supplier_data.data} lotID=${USERS.users['${username}'].tender_data.data['lots'][${lotIndex}]['id']}
264   - Set To Dictionary ${USERS.users['${username}']} supplier_data=${supplier_data}
  264 + Run Keyword If ${lotIndex} > -1 Set To Dictionary ${supplier_data.data} lotID=${USERS.users['${tender_owner}'].initial_data.data['lots'][${lotIndex}]['id']}
  265 + Set To Dictionary ${USERS.users['${tender_owner}']} supplier_data=${supplier_data}
265 266 Log ${supplier_data}
266 267 [Return] ${supplier_data}
267 268
... ...
Please register or login to post a comment