Commit af4b0d789ad94573381510138a3a007803636ad1

Authored by Myroslav Opyr
2 parents 609ff5bf b7f32984

Merge pull request #82 from Leits/qualification

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