def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def __init__(self):
        self._calls = CallList()
        self._server_mock = None
        self.directory = []
        self.exception = None
        self.reset()