Commit e2270c41e897db9335338f2361302691b1f3c652
1 parent
535b0b08
Add error message for `Get Broker Property`
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -92,6 +92,7 @@ Get Broker Property |
92 | 92 | ... This keyword returns a property of specified broker |
93 | 93 | ... if that property exists, otherwise, it returns a |
94 | 94 | ... default value. |
95 | + Run Keyword If '${broker_name}'=='${None}' Fail \${broker_name} is NoneType | |
95 | 96 | ${status}= Run Keyword And Return Status Should Contain ${BROKERS['${broker_name}']} ${property} |
96 | 97 | Return From Keyword If ${status} ${BROKERS['${broker_name}'].${property}} |
97 | 98 | # If broker doesn't have that property, fall back to default value | ... | ... |
Please
register
or
login
to post a comment