#NEWLINE# def testWellKnownFlows( self ) : #NEWLINE# #INDENT# 'Test the well known flows.' #NEWLINE# test_flow = self . FlowSetup ( 'WellKnownSessionTest' ) #NEWLINE# self . assertEqual ( test_flow . session_id , test_lib . WellKnownSessionTest . well_known_session_id ) #NEWLINE# messages = [ rdf_flows . GrrMessage ( payload = rdfvalue . RDFInteger ( i ) ) for i in range ( 10 ) ] #NEWLINE# for message in messages : #NEWLINE# #INDENT# test_flow . ProcessMessage ( messages ) #NEWLINE# #UNINDENT# test_flow . messages . sort ( ) #NEWLINE# self . assertEqual ( test_flow . messages , range ( 10 ) )