Fix test description

(cherry picked from commit afcd6a8114)
This commit is contained in:
Twangboy 2023-05-01 17:38:55 -06:00 committed by Pedro Algarvio
parent 6a6e1d3ec3
commit f2f19771a3

View file

@ -418,9 +418,9 @@ def test_dict_bool_none_types(option_value, expected):
)
def test_bool_int_types(option_value, expected):
"""
Some config settings have three types, dict, bool, and None which should
evaluate as True. All others should return False.
ssl is a dict, bool type config option
Some config settings have two types, bool and int. In that case, bool and
int should evaluate as True. All others should return False.
state_queue is a bool/int config option
"""
result = salt.config._validate_opts({"state_queue": option_value})
assert result is expected