#NEWLINE# def test_bogus( self ) : #NEWLINE# #INDENT# 'Test some bogusy query strings.' #NEWLINE# queries = [ 'foo:asc&;bar:desc' , 'foo.lte<=3' , 'foo.!negate' , 'lte=3' ] #NEWLINE# for query in queries : #NEWLINE# #INDENT# self . assertRaises ( ValueError , self . parse , query )