twisted.internet.test.test_address.IPv4AddressTestCaseMixin(AddressTestCaseMixin)
class documentationtwisted.internet.test.test_address
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_address.IPv4AddressTCPTests, twisted.internet.test.test_address.IPv4AddressUDPTests
Inherited from AddressTestCaseMixin:
Method | test_addressComparison | Two different address instances, sharing the same properties are
considered equal by == and not considered not equal by
!= . |
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. |
Method | test_differentNamesComparison | Check that comparison operators work correctly on address objects when a different name is passed in |
Method | assertDeprecations | Assert that the a DeprecationWarning with the given message was emitted against the given method. |