def test_apply_with_incorrect_ns_set(self):
        try:
            key = ('test1', 'demo1', 1)
            TestApply.client.apply(key, 'sample', 'list_prepend',
                                   ['name', 'car'])

        except aerospike.exception.NamespaceNotFound as exception:
            assert exception.code == 20
            assert exception.msg == 'AEROSPIKE_ERR_NAMESPACE_NOT_FOUND'
Invoke apply() with incorrect ns and set
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_apply.py/TestApply.test_apply_with_incorrect_ns_set