Commit af4b0d789ad94573381510138a3a007803636ad1
Merge pull request #82 from Leits/qualification
Add ignore error
Showing
2 changed files
with
6 additions
and
4 deletions
@@ -88,8 +88,10 @@ Get Broker Property By Username | @@ -88,8 +88,10 @@ Get Broker Property By Username | ||
88 | ... last_modification_date=${TENDER['LAST_MODIFICATION_DATE']} | 88 | ... last_modification_date=${TENDER['LAST_MODIFICATION_DATE']} |
89 | ... tender_owner=${USERS.users['${tender_owner}'].broker} | 89 | ... tender_owner=${USERS.users['${tender_owner}'].broker} |
90 | Run Keyword If '${USERS.users['${tender_owner}'].broker}' == 'Quinta' | 90 | Run Keyword If '${USERS.users['${tender_owner}'].broker}' == 'Quinta' |
91 | - ... Set To Dictionary ${artifact} access_token ${USERS.users['${tender_owner}'].access_token} | ||
92 | - ... tender_id ${USERS.users['${tender_owner}'].tender_data.data.id} | 91 | + ... Run Keyword And Ignore Error |
92 | + ... Set To Dictionary ${artifact} | ||
93 | + ... access_token ${USERS.users['${tender_owner}'].access_token} | ||
94 | + ... tender_id ${USERS.users['${tender_owner}'].tender_data.data.id} | ||
93 | Log ${artifact} | 95 | Log ${artifact} |
94 | log_object_data ${artifact} artifact update=${True} | 96 | log_object_data ${artifact} artifact update=${True} |
95 | 97 |
@@ -136,9 +136,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False): | @@ -136,9 +136,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False): | ||
136 | 136 | ||
137 | def munch_from_object(data, format="yaml"): | 137 | def munch_from_object(data, format="yaml"): |
138 | if format.lower() == 'json': | 138 | if format.lower() == 'json': |
139 | - return data.fromJSON(data) | 139 | + return Munch.fromJSON(data) |
140 | else: | 140 | else: |
141 | - return data.fromYAML(data) | 141 | + return Munch.fromYAML(data) |
142 | 142 | ||
143 | def munch_to_object(data, format="yaml"): | 143 | def munch_to_object(data, format="yaml"): |
144 | if format.lower() == 'json': | 144 | if format.lower() == 'json': |
Please
register
or
login
to post a comment