#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . user_id = 42 #NEWLINE# self . test_feed = self . feed_cls ( self . user_id ) #NEWLINE# self . pin = Pin ( id = 1 , created_at = ( datetime . datetime . now ( ) - datetime . timedelta ( hours = 1 ) ) ) #NEWLINE# self . activity = self . activity_class ( 1 , LoveVerb , activities . pin , 1 , datetime . datetime . now ( ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# activities = [ ] #NEWLINE# for x in range ( 10 ) : #NEWLINE# #INDENT# activity_time = ( datetime . datetime . now ( ) + datetime . timedelta ( hours = 1 ) ) #NEWLINE# activity = self . activity_class ( x , LoveVerb , self . pin , x , activity_time , dict ( x = x ) ) #NEWLINE# activities . append ( activity ) #NEWLINE# #UNINDENT# self . activities = activities