#NEWLINE# def testScheduling( self ) : #NEWLINE# #INDENT# send_at = ( timezone . now ( ) + timedelta ( days = 1 ) ) #NEWLINE# self . admin_alert . send_at = alert #NEWLINE# self . send_it ( ) #NEWLINE# for alert in Alert . objects . all ( ) : #NEWLINE# #INDENT# self . assertEqual ( alert . when , send_at )