

def __init__(self, port, protocol='http', subdirectory=None, pingStatusCode=200):
    logging.getLogger('requests').setLevel(logging.CRITICAL)
    self.port = port
    self.subdirectory = subdirectory
    self.pingStatusCode = pingStatusCode
    self.outFile = None
    self.errFile = None
    self.server = None
    self.serverUrl = '{}://{}:{}'.format(protocol, socket.gethostname(), self.port)

dataset/ETHPy150Open ga4gh/server/tests/end_to_end/server.py ServerForTesting.__init__/original