def test_neg_list_set_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:
            self.as_connection.list_set(key, bin, 0, 75)

        except e.BinIncompatibleType as exception:
            assert exception.code == 12
Invoke list_set() with non-existent bin
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_set.py/TestListSet.test_neg_list_set_with_nonexistent_bin