#NEWLINE# def testAttributeItemDelete( self ) : #NEWLINE# #INDENT# client = LDAPClientTestDriver ( ) #NEWLINE# o = ldapsyntax . LDAPEntry ( client = o , dn = 'cn=foo,dc=example,dc=com' , attributes = { #NEWLINE# #INDENT# 'objectClass' : [ 'a' , 'b' ] , #NEWLINE# 'aValue' : [ 'a' , 'b' , 'c' ] , #NEWLINE# 'bValue' : [ 'b' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# o [ 'aValue' ] . remove ( 'b' ) #NEWLINE# self . failUnlessEqual ( o [ 'aValue' ] , [ 'a' , 'c' ] )