#NEWLINE# def testFlowSerialization( self ) : #NEWLINE# #INDENT# 'Check that we can unpickle flows.' #NEWLINE# session_id = flow . GRRFlow . StartFlow ( client_id = self . client_id , flow_name = 'FlowOrderTest' , token = self . token ) #NEWLINE# flow_obj = aff4 . FACTORY . Open ( session_id , aff4_type = 'FlowOrderTest' , age = aff4 . ALL_TIMES , token = self . token ) #NEWLINE# self . assertEqual ( flow_obj . __class__ , test_lib . FlowOrderTest )