def test_neg_list_set_policy_is_string(self):
        key = ('test', 'demo', 1)
        try:
            self.as_connection.list_set(key, "contact_no", 1, 30, {}, "")

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "policy must be a dict"
Invoke list_set() with policy is string
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_set.py/TestListSet.test_neg_list_set_policy_is_string