Searched hist:"89 eff544" (Results 1 – 2 of 2) sorted by relevance
/openbmc/openbmc-test-automation/lib/ |
H A D | gen_robot_valid.py | 89eff544 Fri Sep 13 16:24:51 CDT 2019 Michael Walsh <micwalsh@us.ibm.com> gen_valid functions not failing bad args - If a caller passed an invalid argument to a validation function, no objection was made: Valid Value var1 valid_value=['this'] In this example, valid_value is incorrect. It should be valid_values. With this fix, the program will fail with a message like this: TypeError: valid_value() got an unexpected keyword argument 'valid_value' Change-Id: Ie3c00ee1c23cc3e96502f12e11cae6e22471aaf1 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
H A D | gen_valid.py | 89eff544 Fri Sep 13 16:24:51 CDT 2019 Michael Walsh <micwalsh@us.ibm.com> gen_valid functions not failing bad args - If a caller passed an invalid argument to a validation function, no objection was made: Valid Value var1 valid_value=['this'] In this example, valid_value is incorrect. It should be valid_values. With this fix, the program will fail with a message like this: TypeError: valid_value() got an unexpected keyword argument 'valid_value' Change-Id: Ie3c00ee1c23cc3e96502f12e11cae6e22471aaf1 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|