#NEWLINE# def testFlagHelpInXML_Int( self ) : #NEWLINE# #INDENT# gflags . DEFINE_integer ( 'index' , 17 , 'An integer flag' , flag_values = self . fv ) #NEWLINE# expected_output_pattern = ' <flag>\n   <file>module.name</file>\n   <name>index</name>\n   <meaning>An integer flag</meaning>\n   <default>17</default>\n   <current>%d</current>\n   <type>int</type>\n </flag>\n' #NEWLINE# self . _CheckFlagHelpInXML ( 'index' , 'module.name' , ( expected_output_pattern % 17 ) ) #NEWLINE# self . fv [ 'index' ] . value = 20 #NEWLINE# self . _CheckFlagHelpInXML ( 'index' , 'module.name' , ( expected_output_pattern % 20 ) )