remove duplicate test
Some checks failed
CI / test (push) Failing after 40s
Lint / test (push) Successful in 24s
Trivy / test (push) Successful in 23s

This commit is contained in:
Miguel Jacq 2025-11-27 20:42:17 +11:00
parent 85f21e739d
commit f7cf41e3f1
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -164,18 +164,6 @@ def test_fallback_str_representer_for_unknown_type():
assert "weird-value" in dumped
def test_normalize_default_value_true_false_strings():
# 'true'/'false' strings should be preserved as strings and double-quoted in YAML.
flat_items = [
(("section", "foo"), "true"),
(("section", "bar"), "FALSE"),
]
defaults_yaml = generate_defaults_yaml("role", flat_items)
data = yaml.safe_load(defaults_yaml)
assert data["role_section_foo"] == "true"
assert data["role_section_bar"] == "FALSE"
def test_normalize_default_value_bool_inputs_are_stringified():
"""
Real boolean values should be turned into quoted 'true'/'false' strings