Commit d2e453d288273d8ff0bb760cd692493736cafcf4
1 parent
cda42b56
Get bid before search document by doc_id
Showing
2 changed files
with
5 additions
and
3 deletions
@@ -42,7 +42,7 @@ Resource base_keywords.robot | @@ -42,7 +42,7 @@ Resource base_keywords.robot | ||
42 | ${confidentialityRationale}= create_fake_sentence | 42 | ${confidentialityRationale}= create_fake_sentence |
43 | ${privat_doc}= create_data_dict data.confidentialityRationale ${confidentialityRationale} | 43 | ${privat_doc}= create_data_dict data.confidentialityRationale ${confidentialityRationale} |
44 | Set To Dictionary ${privat_doc.data} confidentiality=buyerOnly | 44 | Set To Dictionary ${privat_doc.data} confidentiality=buyerOnly |
45 | - Run As ${username} Змінити документацію в ставці ${TENDER['TENDER_UAID']} ${privat_doc} ${USERS.users['${username}'['bid_document']['doc_id']} | 45 | + Run As ${username} Змінити документацію в ставці ${TENDER['TENDER_UAID']} ${privat_doc} ${USERS.users['${username}']['bid_document']['doc_id']} |
46 | 46 | ||
47 | 47 | ||
48 | Можливість завантажити ${doc_type} документ до пропозиції учасником ${username} | 48 | Можливість завантажити ${doc_type} документ до пропозиції учасником ${username} |
@@ -756,7 +756,8 @@ Library openprocurement_client_helper.py | @@ -756,7 +756,8 @@ Library openprocurement_client_helper.py | ||
756 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} | 756 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
757 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 757 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
758 | ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} | 758 | ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
759 | - ${bid_doc}= get_document_by_id ${tender.data} ${doc_id} | 759 | + ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
760 | + ${bid_doc}= get_document_by_id ${bid.data} ${doc_id} | ||
760 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${bid_doc['id']} | 761 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${bid_doc['id']} |
761 | ${uploaded_file} = Create Dictionary | 762 | ${uploaded_file} = Create Dictionary |
762 | ... filepath=${path} | 763 | ... filepath=${path} |
@@ -770,7 +771,8 @@ Library openprocurement_client_helper.py | @@ -770,7 +771,8 @@ Library openprocurement_client_helper.py | ||
770 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} | 771 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
771 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 772 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
772 | ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} | 773 | ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
773 | - ${bid_doc}= get_document_by_id ${tender.data} ${doc_id} | 774 | + ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
775 | + ${bid_doc}= get_document_by_id ${bid.data} ${doc_id} | ||
774 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${bid_doc['id']} | 776 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${bid_doc['id']} |
775 | 777 | ||
776 | 778 |
Please
register
or
login
to post a comment