def test_apply_overwrites_error_additional_values(template_context) -> None:
    """Verify variable overwrite for list given additional entries not ignored."""
    with pytest.raises(ValueError):
        generate.apply_overwrites_to_context(
            context=template_context,
            overwrite_context={'deployment_regions': ['eu', 'na']},
        )
Verify variable overwrite for list given additional entries not ignored.
tests/test_generate_context.py