def test_list_trim_with_nonexistent_key(self):
        charSet = 'abcdefghijklmnopqrstuvwxyz1234567890'
        minLength = 5
        maxLength = 30
        length = random.randint(minLength, maxLength)
        key = ('test', 'demo', ''.join(map(lambda unused:
                                           random.choice(charSet),
                                           range(length))) + ".com")
        try:
            TestListTrim.client.list_trim(key, "abc", 0, 1)

        except e.BinIncompatibleType as exception:
            assert exception.code == 12
Invoke list_trim() with non-existent key
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_trim.py/TestListTrim.test_list_trim_with_nonexistent_key