#NEWLINE# def test_is_new( self ) : #NEWLINE# #INDENT# job = self . create_job ( ) #NEWLINE# self . assertTrue ( job . is_new ) #NEWLINE# threshold = Job . NEW_THRESHOLD #NEWLINE# job . created = ( timezone . now ( ) - ( threshold * 2 ) ) #NEWLINE# self . assertFalse ( job . is_new )