def setup_method(self, method):
        """
        Setup method.
        """
        for i in range(5):
            key = ('test', u'demo', i)
            rec = {
                'name': 'name%s' % (str(i)),
                'addr': 'name%s' % (str(i)),
                'numeric_map': {"a": 1,
                                "b": 2,
                                "c": 3},
                'string_map': {"sa": "a",
                               "sb": "b",
                               "sc": "c"},
                'age': i,
                'no': i
            }
            TestMapKeysIndex.client.put(key, rec)
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_mapkeys_index.py/TestMapKeysIndex.setup_method/original