#NEWLINE# def test_from_url_no_port( self ) : #NEWLINE# #INDENT# system_proxy = platformsettings . SystemProxy . from_url ( 'http://pxy.com/' ) #NEWLINE# self . assertEqual ( 'pxy.com' , system_proxy . host ) #NEWLINE# self . assertEqual ( None , system_proxy . port ) #NEWLINE# self . assertTrue ( system_proxy )