def init_server(self):
        #self.mc = self.module.Client([self.options.server_address])
        self.mc = self.module.Client(["faramir:11217"])
        self.mc.set_behavior(self.module.BEHAVIOR_BINARY_PROTOCOL, 1)
        self.mc.set('bench_key', "E" * 50)

        num_tests = self.options.num_tests
        self.keys = ['key%d' % i for i in xrange(num_tests)]
        self.values = ['value%d' % i for i in xrange(num_tests)]
        self.random_keys = ['key%d' % random.randint(0, num_tests) for i in xrange(num_tests * 3)]
dataset/ETHPy150Open douban/python-libmemcached/benchmark.py/Benchmark.init_server/original