'L{client.RedirectAgent} resolves and follows relative I{URI}s in
redirects, preserving query strings.'

def test_relativeURI(self):

    self._testRedirectURI('http://example.com/foo/bar', 'baz', 'http://example.com/foo/baz')
    self._testRedirectURI('http://example.com/foo/bar', '/baz', 'http://example.com/baz')
    self._testRedirectURI('http://example.com/foo/bar', '/baz?a', 'http://example.com/baz?a')
