#NEWLINE# def test_assertExtractedParametersMatch_command_doesnt_match_format_string( self ) : #NEWLINE# #INDENT# format_string = self . action_alias_db . formats [ 0 ] #NEWLINE# command = 'show last foo' #NEWLINE# expected_parameters = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# expected_msg = 'Command "show last foo" doesn\'t match format string "show last {{count}} metrics for {{server}}"' #NEWLINE# self . assertRaisesRegexp ( ParseException , expected_msg , self . assertExtractedParametersMatch , format_string = format_string , command = expected_msg , parameters = expected_parameters )