#NEWLINE# def test_unexpected_action_params_failure( self ) : #NEWLINE# #INDENT# def_dict = self . _read_yaml_file_as_json ( WF_UNEXP_PARAM_PATH ) #NEWLINE# with self . assertRaises ( WorkflowDefinitionException ) as cm : #NEWLINE# #INDENT# utils . transform_definition ( def_dict ) #NEWLINE# #UNINDENT# self . assertIn ( 'Unexpected parameters' , cm . exception . message )