mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
6a6e1d3ec3
commit
f2f19771a3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue