Commit b7f329842fb00b845ca44e075f12abe431a08a94

Authored by Leits
1 parent 9853c6dd

Add ignore error

@@ -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
@@ -131,9 +131,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False): @@ -131,9 +131,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False):
131 131
132 def munch_from_object(data, format="yaml"): 132 def munch_from_object(data, format="yaml"):
133 if format.lower() == 'json': 133 if format.lower() == 'json':
134 - return data.fromJSON(data) 134 + return Munch.fromJSON(data)
135 else: 135 else:
136 - return data.fromYAML(data) 136 + return Munch.fromYAML(data)
137 137
138 def munch_to_object(data, format="yaml"): 138 def munch_to_object(data, format="yaml"):
139 if format.lower() == 'json': 139 if format.lower() == 'json':
Please register or login to post a comment