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

def testNamedGroupFieldChoicesFilter(self):

    response = self.client.get((u'/test_admin/%s/admin_views/fabric/' % self.urlbit))
    fail_msg = u"Changelist    filter    isn't    showing    options    contained    inside    a    model    field    'choices'    option    named    group."
    self.assertContains(response, u'<div    id="changelist-filter">')
    self.assertContains(response, u'<a    href="?surface__exact=x">Horizontal</a>', msg_prefix=fail_msg, html=True)
    self.assertContains(response, u'<a    href="?surface__exact=y">Vertical</a>', msg_prefix=fail_msg, html=True)
