def test_originFormEmptyPath(self):
        """
        L{client.URI.originForm} produces a path of C{b'/'} when the I{URI}
        specifies an empty path.
        """
        uri = client.URI.fromBytes(
            self.makeURIString(b'http://HOST/'))
        self.assertEqual(b'/', uri.originForm)

        L{client.URI.originForm} produces a path of C{b'/'} when the I{URI}
        specifies an empty path.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_webclient.py