def test_multiple_values_invalid(self):
        self.check_html(self.widget(choices=self.beatles), 'beatles', ['J', 'G', 'foo'], html=(
            """<select multiple="multiple" name="beatles">
            <option value="J" selected="selected">John</option>
            <option value="P">Paul</option>
            <option value="G" selected="selected">George</option>
            <option value="R">Ringo</option>
            </select>"""
        ))
If multiple values are given, but some of them are not valid, the valid
dataset/ETHPy150Open django/django/tests/forms_tests/widget_tests/test_selectmultiple.py/SelectMultipleTest.test_multiple_values_invalid