#NEWLINE# @ recorder . use_cassette ( 'ncss_gfs_xml_point' ) #NEWLINE# def test_unit_handler_xml( self ) : #NEWLINE# #INDENT# self . nq . accept ( 'xml' ) #NEWLINE# self . ncss . unit_handler = tuple_unit_handler #NEWLINE# xml_data = self . ncss . get_data ( self . nq ) #NEWLINE# temp = xml_data [ 'Temperature_isobaric' ] #NEWLINE# assert ( len ( temp ) == 2 ) #NEWLINE# assert ( temp [ 1 ] == 'K' ) #NEWLINE# relh = xml_data [ 'Relative_humidity_isobaric' ] #NEWLINE# assert ( len ( relh ) == 2 ) #NEWLINE# assert ( relh [ 1 ] == '%' )