class documentation

class TestLDAPAttributeSet(unittest.TestCase): (source)

View In Hierarchy

Unit tests for LDAPAttributeSet.

Method testAddExistingValue Adding existing value as a byte or unicode string
Method testAddNewValue Adding new value
Method testCopy Undocumented
Method testDeepCopy Undocumented
Method testDifference Different operation will ignore the attribute's key and will perform the operation onlyb based on the attribute's value.
Method testEquality_False_Key Equality fails if attributes have different keys.
Method testEquality_False_Value LDAPAttributeSet objects are not equal when they have different values.
Method testEquality_True_List It can be compared with a list and in this case the key is ignored.
Method testEquality_True_List_Ordering For list comparison the order of the element don't matter.
Method testEquality_True_Set Attributes are equal when the have the same key and value.
Method testEquality_True_Set_Ordering The order of the element in the value doesn't matter for equality.
Method testIntersection Undocumented
Method testRemoveExistingValue Removing existing value as a byte or unicode string
Method testRemoveNonexistingValue Removing non-existing value
Method testSymmetricDifference Undocumented
Method testUnion Undocumented
def testAddExistingValue(self): (source)

Adding existing value as a byte or unicode string

def testAddNewValue(self): (source)

Adding new value

def testCopy(self): (source)

Undocumented

def testDeepCopy(self): (source)

Undocumented

def testDifference(self): (source)

Different operation will ignore the attribute's key and will perform the operation onlyb based on the attribute's value.

def testEquality_False_Key(self): (source)

Equality fails if attributes have different keys.

def testEquality_False_Value(self): (source)

LDAPAttributeSet objects are not equal when they have different values.

def testEquality_True_List(self): (source)

It can be compared with a list and in this case the key is ignored.

def testEquality_True_List_Ordering(self): (source)

For list comparison the order of the element don't matter.

def testEquality_True_Set(self): (source)

Attributes are equal when the have the same key and value.

def testEquality_True_Set_Ordering(self): (source)

The order of the element in the value doesn't matter for equality.

def testIntersection(self): (source)

Undocumented

def testRemoveExistingValue(self): (source)

Removing existing value as a byte or unicode string

def testRemoveNonexistingValue(self): (source)

Removing non-existing value

def testSymmetricDifference(self): (source)

Undocumented

def testUnion(self): (source)

Undocumented