Commit 549ac68a8c5ffb04903a06cdf1437a62e7e97b88

Authored by selurvedu
1 parent 52d9a17e

Make sure ${field_date} != None before using it

@@ -136,8 +136,8 @@ Get Broker Property By Username @@ -136,8 +136,8 @@ Get Broker Property By Username
136 Звірити дату 136 Звірити дату
137 [Arguments] ${username} ${field} ${subject} 137 [Arguments] ${username} ${field} ${subject}
138 ${field_date}= Викликати для учасника ${username} Отримати інформацію із тендера ${field} 138 ${field_date}= Викликати для учасника ${username} Отримати інформацію із тендера ${field}
139 - ${returned}= compare_date ${subject} ${field_date}  
140 Should Not Be Equal ${field_date} ${None} 139 Should Not Be Equal ${field_date} ${None}
  140 + ${returned}= compare_date ${subject} ${field_date}
141 Should Not Be Equal ${returned} ${None} 141 Should Not Be Equal ${returned} ${None}
142 Should Be True '${returned}' == 'True' 142 Should Be True '${returned}' == 'True'
143 143
Please register or login to post a comment