Commit 81f7136f84d5020452b12b55a110d1af626e4d3b

Authored by selurvedu
1 parent 391d03c3

Fix an incorrect fallback value

... ... @@ -652,7 +652,11 @@ Require Failure
652 652
653 653
654 654 Оновити LAST_MODIFICATION_DATE
  655 + [Documentation]
  656 + ... Variable ``${TEST_STATUS}`` is only available in test case teardown.
  657 + ... When we call this keyword from elswere, we need to presume that
  658 + ... test status is ``PASS`` (since previous keywords passed and this
  659 + ... one was called).
655 660 ${LAST_MODIFICATION_DATE}= Get Current TZdate
656   - ${status}= Get Variable Value ${TEST_STATUS}
  661 + ${status}= Get Variable Value ${TEST_STATUS} PASS
657 662 Run Keyword If '${status}' == 'PASS' Set To Dictionary ${TENDER} LAST_MODIFICATION_DATE=${LAST_MODIFICATION_DATE}
658   - ... ELSE IF '${status}' == '${Empty}' Set To Dictionary ${TENDER} LAST_MODIFICATION_DATE=${LAST_MODIFICATION_DATE}
... ...
Please register or login to post a comment