#NEWLINE# def test_increment_user_activity_counters( self ) : #NEWLINE# #INDENT# user = UserFactory ( ) #NEWLINE# date = datetime . utcnow ( ) #NEWLINE# assert_equal ( user . get_activity_points ( db = self . db ) , 0 ) #NEWLINE# analytics . increment_user_activity_counters ( user . _id , 'project_created' , date , db = self . db ) #NEWLINE# assert_equal ( user . get_activity_points ( db = user . db ) , 1 )