#NEWLINE# def assertXmlDoesNotHaveXpath( self , element , xpath ) : #NEWLINE# #INDENT# message = "Found xpath expression '{}' in below XML\n" . format ( element ) #NEWLINE# self . _assertXpathHelper ( element , xpath , message , should_not_exist = True )