#NEWLINE# def setup_ordering( self ) : #NEWLINE# #INDENT# if ( not self . test_feed . ordering_supported ) : #NEWLINE# #INDENT# self . skipTest ( ( '%s does not support ordering' % self . test_feed . __class__ . __name__ ) ) #NEWLINE# #UNINDENT# activities = [ ] #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# activities . append ( self . activity_class ( i , LoveVerb , i , i , time = ( datetime . datetime . now ( ) - datetime . timedelta ( seconds = i ) ) ) ) #NEWLINE# #UNINDENT# self . test_feed . insert_activities ( activities ) #NEWLINE# self . test_feed . add_many ( activities ) #NEWLINE# assert ( len ( self . test_feed [ : ] ) == 10 )