'L{client.URI.fromBytes} by default assumes port 80 for the I{http}
scheme and 443 for the I{https} scheme.'

def test_parseDefaultPort(self):

    uri = client.URI.fromBytes(self.makeURIString('http://HOST'))
    self.assertEqual(80, uri.port)
    uri = client.URI.fromBytes(self.makeURIString('http://HOST:'))
    self.assertEqual(80, uri.port)
    uri = client.URI.fromBytes(self.makeURIString('https://HOST'))
    self.assertEqual(443, uri.port)
