#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# base . TestCase . setUp ( user ) #NEWLINE# users = ( { #NEWLINE# #INDENT# 'email' : 'good@email.com' , #NEWLINE# 'login' : 'goodlogin' , #NEWLINE# 'firstName' : 'First' , #NEWLINE# 'lastName' : 'Last' , #NEWLINE# 'password' : 'goodpassword' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'email' : 'regularuser@email.com' , #NEWLINE# 'login' : 'regularuser' , #NEWLINE# 'firstName' : 'First' , #NEWLINE# 'lastName' : 'Last' , #NEWLINE# 'password' : 'goodpassword' , #NEWLINE# #UNINDENT# } ) #NEWLINE# ( self . admin , self . user ) = [ self . model ( 'user' ) . createUser ( ** user ) for user in users ]