Commit 4a9ccb3118b93f839ed21ab6247052440ee018b3
1 parent
37e78607
fix for owner "Resolving variable '${award.value.amount}' failed: AttributeError: value"
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -450,9 +450,10 @@ fix awards data in global Users variable | @@ -450,9 +450,10 @@ fix awards data in global Users variable | ||
450 | 450 | ||
451 | :FOR ${user} IN @{USERS} | 451 | :FOR ${user} IN @{USERS} |
452 | \ continue for loop if '${user}' == '${username}' | 452 | \ continue for loop if '${user}' == '${username}' |
453 | - \ ${is_user_has_tender_data} = run keyword and return status dictionary should contain key ${USERS.users['${user}'] tender_data | 453 | + \ ${user_data} = set variable ${USERS.users['${user}']} |
454 | + \ ${is_user_has_tender_data} = run keyword and return status dictionary should contain key ${user_data} tender_data | ||
454 | \ continue for loop if ${is_user_has_tender_data} == ${False} | 455 | \ continue for loop if ${is_user_has_tender_data} == ${False} |
455 | \ ${status} ${award_data} = run keyword and ignore error get_from_object ${USERS.users['${user}'].tender_data.data} awards | 456 | \ ${status} ${award_data} = run keyword and ignore error get_from_object ${USERS.users['${user}'].tender_data.data} awards |
456 | - \ continue for loop if ${status} == ${False} | 457 | + \ continue for loop if '${status}' != 'PASS' |
457 | \ set to object ${USERS.users['${username}'].tender_data.data} awards ${award_data} | 458 | \ set to object ${USERS.users['${username}'].tender_data.data} awards ${award_data} |
458 | \ exit for loop | 459 | \ exit for loop |
Please
register
or
login
to post a comment