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

        except e.BinIncompatibleType as exception:
            assert exception.code == 12
Builds tr_data for a Transaction of type Credit
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_trim.py/TestListTrim.test_list_trim_with_nonexistent_bin--crossover with--dataset/ETHPy150Open braintree/braintree_python/braintree/transaction.py/Transaction.tr_data_for_credit