#NEWLINE# def test_and_noMatch( self ) : #NEWLINE# #INDENT# o = inmemory . ReadOnlyInMemoryLDAPEntry ( dn = 'cn=foo,dc=example,dc=com' , attributes = { #NEWLINE# #INDENT# 'objectClass' : [ 'a' , 'b' ] , #NEWLINE# 'aValue' : [ 'a' ] , #NEWLINE# 'bValue' : [ 'b' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# result = o . match ( pureldap . LDAPFilter_and ( [ pureldap . LDAPFilter_present ( 'cValue' ) , pureldap . LDAPFilter_present ( 'dValue' ) ] ) ) #NEWLINE# self . assertEquals ( self , False )