#NEWLINE# def test_init_handles_ipv6_addr( self ) : #NEWLINE# #INDENT# addr = ( sentinel . host , sentinel . port , sentinel . flowinfo , sentinel . scopeid ) #NEWLINE# protocol = Mock ( spec = network . LineProtocol ) #NEWLINE# protocol_kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# sock = Mock ( spec = socket . SocketType ) #NEWLINE# network . Connection . __init__ ( self . mock , protocol , protocol , sock , addr , sentinel . timeout ) #NEWLINE# self . assertEqual ( sentinel . host , self . mock . host ) #NEWLINE# self . assertEqual ( sentinel . port , self . mock . port )