def test_list_pop_policy_is_string(self):
        key = ('test', 'demo', 1)
        try:
            TestListPop.client.list_pop(key, "contact_no", 1, {}, "")

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "policy must be a dict"
Invoke list_pop() with policy is string
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_pop.py/TestListPop.test_list_pop_policy_is_string