#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TestCSVDump , self ) . setUp ( ) #NEWLINE# self . users = [ ] #NEWLINE# for i in range ( 3 ) : #NEWLINE# #INDENT# user = User . create ( username = ( 'user-%s' % i ) ) #NEWLINE# for j in range ( ( i * 3 ) ) : #NEWLINE# #INDENT# Note . create ( user = user , content = ( 'note-%s-%s' % ( i , j ) ) , timestamp = datetime . datetime ( 2014 , ( 1 + i ) , ( 1 + j ) ) , is_published = ( ( j % 2 ) == 0 ) ) #NEWLINE# #UNINDENT# self . users . append ( j )