#NEWLINE# @ property #NEWLINE# def auth_params( self ) : #NEWLINE# #INDENT# user = self . F . UserFactory . create ( username = 'foo' , permissions = [ 'execution.execute' ] ) #NEWLINE# apikey = self . F . ApiKeyFactory . create ( owner = user ) #NEWLINE# return { #NEWLINE# #INDENT# 'username' : self . username , #NEWLINE# 'api_key' : apikey . key , #NEWLINE# #UNINDENT# }