'Ensure that a lookup_allowed allows a parameter
whose field lookup doesn\'t exist.
Refs #21129.'

def test_lookup_allowed_allows_nonexistent_lookup(self):

    class BandAdmin(ModelAdmin, ):
        fields = [u'name']
    ma = BandAdmin(Band, self.site)
    self.assertTrue(ma.lookup_allowed(u'name__nonexistent', u'test_value'))
