def test_pos_list_insert_list_with_correct_policy(self):
        key = ('test', 'demo', 2)
        policy = {
            'timeout': 1000,
            'retry': aerospike.POLICY_RETRY_ONCE,
            'commit_level': aerospike.POLICY_COMMIT_LEVEL_MASTER
        }
        self.as_connection.list_insert(
            key, "age", 5, [45, 50, 80], {}, policy)

        (key, _, bins) = self.as_connection.get(key)

        assert bins == {'age': [2, 3, None, None, None, [45, 50, 80]],
                        'city': ['Pune', 'Dehli'], 'name': 'name2'}
Invoke list_insert() inserts list with correct policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_insert.py/TestListInsert.test_pos_list_insert_list_with_correct_policy