#NEWLINE# def test_worker_resets_vad_at_the_end_of_recognition( self ) : #NEWLINE# #INDENT# messages = [ { #NEWLINE# #INDENT# 'frontend' : self . make_frontend_request ( 'message 1' , 'ONLINE' , has_next = False ) , #NEWLINE# #UNINDENT# } ] #NEWLINE# self . run_worker ( messages ) #NEWLINE# self . assertTrue ( self . vad . resetted )