#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# email = ( ( apps_username + '@' ) + apps_domain ) #NEWLINE# self . apps_client = gdata . apps . service . AppsService ( email = email , domain = apps_domain , password = apps_password , source = 'AppsClient "Unit" Tests' ) #NEWLINE# self . apps_client . handler = atom . mock_service #NEWLINE# datafile = os . path . join ( os . path . dirname ( os . path . abspath ( __file__ ) ) , 'TestDataForGeneratorTest.p' ) #NEWLINE# f = open ( datafile , 'r' ) #NEWLINE# atom . mock_service . LoadRecordings ( f ) #NEWLINE# f . close ( ) #NEWLINE# self . user_names = [ ] #NEWLINE# for i in range ( 100 ) : #NEWLINE# #INDENT# self . user_names += [ ( 'testuser-20080307140302-%03d' % f ) ] #NEWLINE# #UNINDENT# self . user_names += [ 'tmatsuo' ] #NEWLINE# self . user_num = 101