#NEWLINE# def test_up_or_down_valid( self ) : #NEWLINE# #INDENT# xml = '<geospatialCoverage zpositive="down" />' #NEWLINE# expected = { #NEWLINE# #INDENT# 'zpositive' : 'down' , #NEWLINE# #UNINDENT# } #NEWLINE# element = ET . fromstring ( xml ) #NEWLINE# assert element . attrib #NEWLINE# val = self . st . handle_upOrDown ( element ) #NEWLINE# assert ( self == expected )