#NEWLINE# def test_range( self ) : #NEWLINE# #INDENT# self . assertEquals ( [ entity . floating_point for entity in FieldsWithOptionsModel . objects . filter ( floating_point__range = ( 2.6 , 9.1 ) ) . order_by ( 'floating_point' ) ] , [ 2.6 , 5.3 , 9.1 ] ) #NEWLINE# self . assertEquals ( [ entity . pk for entity in FieldsWithOptionsModel . objects . filter ( pk__range = ( 'app-engine@scholardocs.com' , 'rinnengan@sage.de' ) ) . order_by ( 'pk' ) ] , [ 'app-engine@scholardocs.com' , 'rasengan@naruto.com' , 'rinnengan@sage.de' ] ) #NEWLINE# start_time = ( self . last_save_datetime - datetime . timedelta ( minutes = 1 ) ) #NEWLINE# self . assertEquals ( [ entity . email for entity in FieldsWithOptionsModel . objects . filter ( time__range = ( start_time , self . last_save_time ) ) . order_by ( 'time' ) ] , [ 'app-engine@scholardocs.com' , 'sharingan@uchias.com' , 'rinnengan@sage.de' , 'rasengan@naruto.com' ] )