Commit e2270c41e897db9335338f2361302691b1f3c652

Authored by selurvedu
1 parent 535b0b08

Add error message for `Get Broker Property`

... ... @@ -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