'L{client.HTTPClientFactory.setURL} alters the path in a relative URL.'

def test_setURLRelativePath(self):

    f = client.HTTPClientFactory('http://example.com')
    url = '/hello'
    f.setURL(url)
    self.assertEqual((url, 'http', 'example.com', 80, '/hello'), (f.url, f.scheme, f.host, f.port, f.path))
