def test_apply_overwrites_overwrite_value_as_boolean_string(overwrite_value, expected):
    """Verify boolean conversion for valid overwrite values."""
    context = {'key': not expected['key']}
    overwrite_context = {'key': overwrite_value}
    generate.apply_overwrites_to_context(context, overwrite_context)
    assert context == expected
Verify boolean conversion for valid overwrite values.
tests/test_generate_context.py