'Ensures the filter UI shows correctly when at least one named group has
been used in the choices option of a model field.'

def test_named_group_field_choices_filter(self):

    response = self.client.get(reverse('admin:admin_views_fabric_changelist'))
    fail_msg = "Changelist    filter    isn't    showing    options    contained    inside    a    model    field    'choices'    option    named    group."
    self.assertContains(response, '<div    id="changelist-filter">')
    self.assertContains(response, '<a    href="?surface__exact=x"    title="Horizontal">Horizontal</a>', msg_prefix=fail_msg, html=True)
    self.assertContains(response, '<a    href="?surface__exact=y"    title="Vertical">Vertical</a>', msg_prefix=fail_msg, html=True)
