#NEWLINE# def test_invert_not_in( self ) : #NEWLINE# #INDENT# expression = "'test' !in facts.foo" #NEWLINE# result = self . _invert_expression ( expression ) #NEWLINE# self . assertTrue ( ( "facts.foo := remove(facts.foo, 'test')" in result ) ) #NEWLINE# self . assertEquals ( len ( result ) , 1 )