#NEWLINE# def test26( self ) : #NEWLINE# #INDENT# t = 'type=:foo.bar !type=:baz' #NEWLINE# out = "(('type', 'foo.bar') AND (NOT ('type', 'baz')))" #NEWLINE# self . assertEqual ( out , self . parse ( t ) )