'Regression test for #11709 - when testing for fk excluding (when exclude is
given) make sure fk_name is honored or things blow up when there is more
than one fk to the parent model.'

def test_fk_exclusion(self):

    class TwoAlbumFKAndAnEInline(admin.TabularInline, ):
        model = TwoAlbumFKAndAnE
        exclude = ('e',)
        fk_name = 'album1'
    validate_inline(TwoAlbumFKAndAnEInline, None, Album)
