#NEWLINE# def set_experiment_user( target ) : #NEWLINE# #INDENT# 'Decorator for setting the WebUser for use with ab split testing\n    assumes the first argument is the request object' #NEWLINE# def wrapper( * args , **kwargs ) : #NEWLINE# #INDENT# request = args [ 0 ] #NEWLINE# WebUser ( request ) . confirm_human ( ) #NEWLINE# return target ( * args , ** kwargs ) #NEWLINE# #UNINDENT# return wrapper