Ë ÏªÍfœãó|—dZddlmZddlmZddlmZddlmZddl m Z ddl m Z Gd„d e je «Zy ) z5 Tests for L{SSHTransportAddrress} in ssh/address.py é)Ú annotations)ÚCallable)ÚSSHTransportAddress)Ú IPv4Address)ÚAddressTestCaseMixin)Úunittestcó(—eZdZdZdd„Zdd„Zdd„Zy)ÚSSHTransportAddressTestszí L{twisted.conch.ssh.address.SSHTransportAddress} is what Conch transports use to represent the other side of the SSH connection. This tests the basic functionality of that class (string representation, comparison, &c). có‚—|j«}||«}||j«}|j|d|z«y)z‹ The string representation of C{SSHTransportAddress} should be "SSHTransportAddress()". zSSHTransportAddress(%s)N)Ú buildAddressÚaddressÚ assertEqual)ÚselfÚstringFunctionÚaddrÚ stringValueÚ addressValues úA/usr/lib/python3/dist-packages/twisted/conch/test/test_address.pyÚ_stringRepresentationz.SSHTransportAddressTests._stringRepresentations@€ð × Ñ Ó"ˆÙ$ TÓ*ˆ Ù% d§l¡lÓ3ˆ Ø ×јÐ&?À,Ñ&NÕOócó.—ttddd««S)z” Create an arbitrary new C{SSHTransportAddress}. A new instance is created for each call, but always for the same address. ÚTCPz 127.0.0.1é©rr©rs rr z%SSHTransportAddressTests.buildAddress"s€ô #¤;¨u°kÀ2Ó#FÓGÐGrcó.—ttddd««S)zK Like C{buildAddress}, but with a different fixed address. rz 127.0.0.2rrrs rÚbuildDifferentAddressz.SSHTransportAddressTests.buildDifferentAddress)s€ô#¤;¨u°kÀ2Ó#FÓGÐGrN)rzCallable[[object], str]ÚreturnÚNone)rr)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr r©rrr r s„ñó PóHôHrr N)r#Ú __future__rÚtypingrÚtwisted.conch.ssh.addressrÚtwisted.internet.addressrÚ"twisted.internet.test.test_addressrÚ twisted.trialrÚTestCaser r$rrúr,s5ðñõ#åå9Ý0ÝCÝ"ôH˜x×0Ñ0Ð2FõHr