class documentation
class AddressTestCaseMixin: (source)
Known subclasses: twisted.conch.test.test_address.SSHTransportAddressTests
, twisted.internet.test.test_address.EmptyUNIXAddressTests
, twisted.internet.test.test_address.HostnameAddressTests
, twisted.internet.test.test_address.IPv4AddressTestCaseMixin
, twisted.internet.test.test_address.IPv6AddressTests
Undocumented
Method | assert |
Assert that the a DeprecationWarning with the given message was emitted against the given method. |
Method | test_address |
Two different address instances, sharing the same properties are considered equal by == and not considered not equal by !=. |
Method | test_different |
Check that comparison operators work correctly on address objects when a different name is passed in |
Method | test |
__hash__ can be used to get a hash of an address, allowing addresses to be used as keys in dictionaries, for instance. |
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.