class documentation

class TestDeleteOpLDIF(OperationTestCase): (source)

View In Hierarchy

Unit tests for DeleteOp.

Method testAsLDIF It return the LDIF representation of the delete operation.
Method testDeleteOp_DNNotFound If fail to delete when the RDN does not exists.
Method testDeleteOpEqualityEqualDN DeleteOp objects are equal if their DNs are equal.
Method testDeleteOpEqualitySameDN Objects are equal when the have the same DN.
Method testDeleteOpHashDifferent Objects which are not equal have different hash.
Method testDeleteOpHashSimilar Objects which are equal have the same hash.
Method testDeleteOpInequalityDifferentEntry DeleteOp objects are not equal when the have different LDAP entries.
Method testDeleteOpInequalityNoEntryObject DeleteOp objects is not equal with random objects.
Method testDeleteOpInvalidDN Invalid type of DN raises AssertionError
Method testRepr Getting string representation

Inherited from OperationTestCase:

Method getRoot Returns a new LDAP root for dc=example,dc=com.
def testAsLDIF(self): (source)

It return the LDIF representation of the delete operation.

def testDeleteOp_DNNotFound(self): (source)

If fail to delete when the RDN does not exists.

def testDeleteOpEqualityEqualDN(self): (source)

DeleteOp objects are equal if their DNs are equal.

def testDeleteOpEqualitySameDN(self): (source)

Objects are equal when the have the same DN.

def testDeleteOpHashDifferent(self): (source)

Objects which are not equal have different hash.

def testDeleteOpHashSimilar(self): (source)

Objects which are equal have the same hash.

def testDeleteOpInequalityDifferentEntry(self): (source)

DeleteOp objects are not equal when the have different LDAP entries.

def testDeleteOpInequalityNoEntryObject(self): (source)

DeleteOp objects is not equal with random objects.

def testDeleteOpInvalidDN(self): (source)

Invalid type of DN raises AssertionError

def testRepr(self): (source)

Getting string representation