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_list': [1, 2, 3, 4],
                'string_list': ["a", "b", "c", "d"],
                'age': i,
                'no': i
            }
            TestListIndex.client.put(key, rec)
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_index.py/TestListIndex.setup_method/original