#NEWLINE# def testBrokenFlow( self ) : #NEWLINE# #INDENT# 'Check that flows which call to incorrect states raise.' #NEWLINE# client_mock = action_mocks . ActionMock ( 'ReadBuffer' ) #NEWLINE# with self . assertRaises ( RuntimeError ) : #NEWLINE# #INDENT# for _ in test_lib . TestFlowHelper ( 'BrokenFlow' , client_mock , client_id = self . client_id , check_flow_errors = True , token = self . token ) : #NEWLINE# #INDENT# pass