def test_neg_list_extend_with_incorrect_policy(self):
        key = ('test', 'demo', 1)
        policy = {
            'timeout': 0.5
        }
        try:
            self.as_connection.list_extend(
                key, "contact_no", ["str"], {}, policy)

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "timeout is invalid"
Invoke list_extend() with incorrect policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_extend.py/TestListExtend.test_neg_list_extend_with_incorrect_policy