def test_apply_with_key_as_none(self):
        try:
            TestApply.client.apply(
                None, 'sample', 'list_append', ['name', 'car'])

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