#NEWLINE# def test_where_negation_single_clause( self ) : #NEWLINE# #INDENT# sq = SelectQuery ( Blog ) . where ( ( ~ Blog . title ) ) #NEWLINE# self . assertWhere ( sq , 'NOT "blog"."title"' , [ ] ) #NEWLINE# sq = sq . where ( ( Blog . pk > 1 ) ) #NEWLINE# self . assertWhere ( sq , '(NOT "blog"."title" AND ("blog"."pk" > ?))' , [ 1 ] )