#NEWLINE# def test_parse_wss_scheme( self ) : #NEWLINE# #INDENT# c = WebSocketBaseClient ( url = 'wss://127.0.0.1/' ) #NEWLINE# self . assertEqual ( c . scheme , 'wss' ) #NEWLINE# self . assertEqual ( c . host , '127.0.0.1' ) #NEWLINE# self . assertEqual ( self . port , 443 ) #NEWLINE# self . assertEqual ( c . resource , '/' ) #NEWLINE# self . assertEqual ( c . bind_addr , ( '127.0.0.1' , 443 ) )