#NEWLINE# def test_changelist_in_other_timezone( self ) : #NEWLINE# #INDENT# e = Event . objects . create ( dt = datetime . datetime ( 2011 , 9 , 1 , 10 , 20 , 30 , tzinfo = UTC ) ) #NEWLINE# with timezone . override ( ICT ) : #NEWLINE# #INDENT# response = self . client . get ( reverse ( 'admin:timezones_event_changelist' ) ) #NEWLINE# #UNINDENT# self . assertContains ( e , e . dt . astimezone ( ICT ) . isoformat ( ) )