Home
last modified time | relevance | path

Searched refs:invalid_values (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc-test-automation/lib/
H A Dvalid.tcl8 proc valid_value { var_name { invalid_values {}} { valid_values {}} } {
31 set len_invalid_values [llength $invalid_values]
38 append error_message [sprint_list invalid_values "" "" 1]
67 set invalid_values [list ""]
71 if { [lsearch -exact $invalid_values "${var_value}"] == -1 } { return }
77 append error_message [sprint_list invalid_values "" "" 1]
168 set invalid_values [lindex $args 0]
169 append error_message [sprint_list invalid_values "" "" 1]
H A Dgen_valid.py223 len_invalid_values = len(invalid_values)
228 error_message += gp.sprint_var(invalid_values)
259 invalid_values = ["", None]
262 if var_value not in invalid_values:
469 invalid_values=[], argument
498 ^ bool(len(invalid_values))
550 if len(invalid_values):
554 if var_value[ix] in invalid_values:
594 invalid_values={}, argument
662 for key, value in invalid_values.items():
[all …]
H A Dstate.py497 error_message = gv.valid_value(os_host, invalid_values=[None, ""])
503 error_message = gv.valid_value(os_username, invalid_values=[None, ""])
509 error_message = gv.valid_value(os_password, invalid_values=[None, ""])
623 error_message = gv.valid_value(openbmc_host, invalid_values=[None, ""])
629 error_message = gv.valid_value(openbmc_username, invalid_values=[None, ""])
635 error_message = gv.valid_value(openbmc_password, invalid_values=[None, ""])
H A Dgen_robot_valid.py31 var_value, invalid_values=[var_value], var_name=var_name