def test_apply_with_incorrect_policy(self):
        policy = {'timeout': 0.1}
        key = ('test', 'demo', 1)
        try:
            TestApply.client.apply(key, 'sample', 'list_append',
                                   ['name', 'car'], policy)

        except aerospike.exception.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == 'timeout is invalid'
Invoke apply() with incorrect policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_apply.py/TestApply.test_apply_with_incorrect_policy