def test_list_get_range_with_incorrect_policy(self):
        key = ('test', 'demo', 1)
        policy = {
            'timeout': 0.5
        }
        try:
            TestListGetRange.client.list_get_range(
                key, "contact_no", 0, 2, {}, policy)

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "timeout is invalid"
Invoke list_get_range() with incorrect policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_get_range.py/TestListGetRange.test_list_get_range_with_incorrect_policy