def test_originForm(self):
        """
        L{client.URI.originForm} produces an absolute I{URI} path including
        the I{URI} path.
        """
        uri = client.URI.fromBytes(
            self.makeURIString(b'http://HOST/foo'))
        self.assertEqual(b'/foo', uri.originForm)

        L{client.URI.originForm} produces an absolute I{URI} path including
        the I{URI} path.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_webclient.py