def testAddChildOnWire(self):
        client = LDAPClientTestDriver(
            [pureldap.LDAPAddResponse(resultCode=0,
                                      matchedDN='',
                                      errorMessage=''),
             ])
        o=ldapsyntax.LDAPEntry(client=client,
                               dn='ou=things,dc=example,dc=com',
                               attributes={
            'objectClass': ['organizationalUnit'],
            'ou': ['things'],
            })
        d=o.addChild(
            rdn='givenName=Firstname+surname=Lastname',
            attributes={'objectClass': ['person', 'otherStuff'],
                        'givenName': ['Firstname'],
                        'surname': ['Lastname'],
                        })
        def cb(dummy):
            client.assertSent(pureldap.LDAPAddRequest(
                entry='givenName=Firstname+surname=Lastname,ou=things,dc=example,dc=com',
                attributes=[ (pureldap.LDAPAttributeDescription('objectClass'),
                              pureber.BERSet([pureldap.LDAPAttributeValue('person'),
                                              pureldap.LDAPAttributeValue('otherStuff'),
                                              ])),
                             (pureldap.LDAPAttributeDescription('givenName'),
                              pureber.BERSet([pureldap.LDAPAttributeValue('Firstname')])),
                             (pureldap.LDAPAttributeDescription('surname'),
                              pureber.BERSet([pureldap.LDAPAttributeValue('Lastname')])),
                             ],
                ))
        d.addCallback(cb)
        return d
Test fail on real data
dataset/ETHPy150Open twisted/ldaptor/ldaptor/test/test_ldapsyntax.py/LDAPSyntaxAddChild.testAddChildOnWire--crossover with--dataset/ETHPy150Open nvbn/coviolations_web/violations/tests/test_pip_review.py/PipReviewViolationCase.test_fail_on_real