def test_apply_with_extra_argument(self):
        policy = {'timeout': 1000}
        key = ('test', 'demo', 1)
        with pytest.raises(TypeError) as typeError:
            TestApply.client.apply(key, 'sample', 'list_append',
                                   ['name', 'car'], policy, "")

        assert "apply() takes at most 5 arguments (6 given)" in str(
            typeError.value)
Invoke apply() with extra argument
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_apply.py/TestApply.test_apply_with_extra_argument