

def AddServer(self, host, port):
    ep = ScalesUriParser.Endpoint(host, port)
    server = ScalesUriParser.Server(ep)
    self._servers.add(server)
    if self._on_join:
        self._on_join(server)

dataset/ETHPy150Open steveniemitz/scales/test/scales/util/mocks.py MockServerSetProvider.AddServer/original