openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

Valid Length get pass for empty min_length and max_length #2207

Closed susilsi7 closed 11 months ago

susilsi7 commented 1 year ago

Sample Code:

Test Valid Length
    [Documentation]  Test valid length.
    [Tags]  Test_Valid_ Length

    Set Test Variable  ${name_item}  BMC

    Valid Length  name_item
gkeishin commented 11 months ago

This is more of a code suggestion; we don't expect empty to be passed and don't check for bare length with a valid length logic which can be done by any robot or python logic exiting. Closing this ticket