Showing
2 changed files
with
6 additions
and
9 deletions
| ... | ... | @@ -57,14 +57,14 @@ Resource playtender_claim |
| 57 | 57 | # Log ${tender_с} |
| 58 | 58 | # bof - fix # |
| 59 | 59 | ${complaint}= getLastComplaintDataByTenderUaId ${API_HOST_URL}/api/${API_VERSION} ${tender_uaid} |
| 60 | - Log ${complaint} | |
| 61 | - ${complaint}= json_load ${complaint} | |
| 62 | - Log ${complaint} | |
| 63 | - ${complaint}= op_robot_tests.tests_files.service_keywords.Munchify arg=${complaint} | |
| 64 | - Log ${complaint} | |
| 60 | +# Log ${complaint} | |
| 61 | +# ${complaint}= json_load ${complaint} | |
| 62 | +# Log ${complaint} | |
| 63 | + ${complaint}= op_robot_tests.tests_files.service_keywords.Munchify ${complaint} | |
| 64 | + log dictionary ${complaint} | |
| 65 | 65 | ## ${complaint} = playtender_service.split_complaintdata ${complaint} |
| 66 | 66 | ## Log ${complaint} |
| 67 | -# ${complaint}= munch_dict arg=${complaint} | |
| 67 | +## ${complaint}= munch_dict arg=${complaint} | |
| 68 | 68 | # Set To Dictionary ${USERS.users['${username}']} complaint_data=${complaint} |
| 69 | 69 | Set To Dictionary ${USERS.users['${username}']} complaint_access_token=123 |
| 70 | 70 | # Log ${USERS.users['playtender_Provider'].complaint_data['complaintID']} | ... | ... |
| ... | ... | @@ -11,7 +11,6 @@ from iso8601 import parse_date |
| 11 | 11 | from robot.libraries.BuiltIn import BuiltIn |
| 12 | 12 | from datetime import datetime, timedelta |
| 13 | 13 | import pytz |
| 14 | -import json | |
| 15 | 14 | |
| 16 | 15 | TZ = pytz.timezone('Europe/Kiev') |
| 17 | 16 | |
| ... | ... | @@ -496,5 +495,3 @@ def getLastComplaintDataByTenderUaId(apiBaseUrl, tenderUaId): |
| 496 | 495 | tenderDataJson = tenderDataResponse['json']['data'][0] |
| 497 | 496 | return tenderDataJson |
| 498 | 497 | |
| 499 | -def json_load(json_str): | |
| 500 | - return json.loads(json_str) | ... | ... |
Please
register
or
login
to post a comment