'When passed a scheme of C{\'http\'} and a port other than C{80},
L{Agent._computeHostValue} returns a string giving the
host passed to it joined together with the port number by C{":"}.'

def test_hostValueNonStandardHTTP(self):

    self.assertEqual(self.agent._computeHostValue('http', 'example.com', 54321), 'example.com:54321')
