'Any filter must define a title.'

def test_listfilter_without_title(self):

    modeladmin = DecadeFilterBookAdminWithoutTitle(Book, site)
    request = self.request_factory.get('/', {})
    msg = "The    list    filter    'DecadeListFilterWithoutTitle'    does    not    specify    a    'title'."
    with self.assertRaisesMessage(ImproperlyConfigured, msg):
        self.get_changelist(request, Book, modeladmin)
