Commit b7f329842fb00b845ca44e075f12abe431a08a94

Authored by Leits
1 parent 9853c6dd

Add ignore error

... ... @@ -88,8 +88,10 @@ Get Broker Property By Username
88 88 ... last_modification_date=${TENDER['LAST_MODIFICATION_DATE']}
89 89 ... tender_owner=${USERS.users['${tender_owner}'].broker}
90 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 95 Log ${artifact}
94 96 log_object_data ${artifact} artifact update=${True}
95 97
... ...
... ... @@ -131,9 +131,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False):
131 131
132 132 def munch_from_object(data, format="yaml"):
133 133 if format.lower() == 'json':
134   - return data.fromJSON(data)
  134 + return Munch.fromJSON(data)
135 135 else:
136   - return data.fromYAML(data)
  136 + return Munch.fromYAML(data)
137 137
138 138 def munch_to_object(data, format="yaml"):
139 139 if format.lower() == 'json':
... ...
Please register or login to post a comment