#NEWLINE# @ override_settings ( USE_TZ = True ) #NEWLINE# def test_is_datetime_timezone_aware( self ) : #NEWLINE# #INDENT# generate = generators . DateTimeGenerator ( ) #NEWLINE# date_time = generate ( ) #NEWLINE# self . assertTrue ( timezone . is_aware ( date_time ) )