def abs_url(self, path, query=None):
        return urlparse.urlunsplit(("http", "%s:%i" % (self.server.host, self.server.port), path, query, None))
dataset/ETHPy150Open w3c/wptserve/tests/functional/base.py/TestUsingServer.abs_url/original