#NEWLINE# def test_scheduler_interval( self ) : #NEWLINE# #INDENT# consumer = self . get_consumer ( scheduler_interval = 0.1 ) #NEWLINE# self . assertEqual ( self . scheduler_interval , 1 ) #NEWLINE# consumer = self . get_consumer ( scheduler_interval = 120 ) #NEWLINE# self . assertEqual ( consumer . scheduler_interval , 60 ) #NEWLINE# consumer = self . get_consumer ( scheduler_interval = 10 ) #NEWLINE# self . assertEqual ( consumer . scheduler_interval , 10 )