#NEWLINE# @ patch . object ( acl , 'check_addons_reviewer' , ( lambda x : False ) ) #NEWLINE# @ patch . object ( acl , 'check_unlisted_addons_reviewer' , ( lambda x : False ) ) #NEWLINE# @ patch . object ( acl , 'check_addon_ownership' , ( lambda * args , **kwargs : True ) ) #NEWLINE# def test_unlisted_owner_allowed( self ) : #NEWLINE# #INDENT# ( addon , file_ ) = self . get_unlisted_addon_file ( ) #NEWLINE# assert allowed ( file_ . request , file_ )