def test_apply_with_correct_parameters_without_connection(self):
        key = ('test', 'demo', 1)
        config = {'hosts': [('127.0.0.1', 3000)]}
        client1 = aerospike.client(config)
        try:
            client1.apply(key, 'sample', 'list_append', ['name', 'car'])

        except aerospike.exception.ClusterError as exception:
            assert exception.code == 11
            assert exception.msg == 'No connection to aerospike cluster'
Update all objects in this queryset with modifications in ``kwargs``.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_apply.py/TestApply.test_apply_with_correct_parameters_without_connection--crossover with--dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtmodel.py/MTQuerySet.update