#NEWLINE# def test_andOperator( self ) : #NEWLINE# #INDENT# '\n        Test boolean and operator in condition.\n        ' #NEWLINE# xp = XPathQuery ( "//bar[@attrib4='value4' and @attrib5='value5']" ) #NEWLINE# self . assertEquals ( xp . matches ( self . e ) , True ) #NEWLINE# self . assertEquals ( xp . queryForNodes ( xp . e ) , [ self . bar5 ] )