class documentation

Undocumented

Method assertDeprecations Assert that the a DeprecationWarning with the given message was emitted against the given method.
Method test_addressComparison Two different address instances, sharing the same properties are considered equal by == and not considered not equal by !=.
Method test_differentNamesComparison Check that comparison operators work correctly on address objects when a different name is passed in
Method test_hash __hash__ can be used to get a hash of an address, allowing addresses to be used as keys in dictionaries, for instance.
def assertDeprecations(self, testMethod, message): (source)

Assert that the a DeprecationWarning with the given message was emitted against the given method.

def test_addressComparison(self): (source)

Two different address instances, sharing the same properties are considered equal by == and not considered not equal by !=.

Note: When applied via UNIXAddress class, this uses the same filename for both objects being compared.

def test_differentNamesComparison(self): (source)

Check that comparison operators work correctly on address objects when a different name is passed in

def test_hash(self): (source)

__hash__ can be used to get a hash of an address, allowing addresses to be used as keys in dictionaries, for instance.