#NEWLINE# def test_enqueue_next( self ) : #NEWLINE# #INDENT# 'Schedule the next job' #NEWLINE# job = self . q . enqueue_next ( self . job ) #NEWLINE# self . assertIsNotNone ( job . id ) #NEWLINE# self . assertNotEqual ( self . id , self . job . id ) #NEWLINE# self . assertEqual ( job . scheduled_for , ( self . job . scheduled_for + self . job . interval ) )