'Any SimpleListFilter must define a parameter_name.'

def test_simplelistfilter_without_parameter(self):

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