def test_pos_list_insert_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")
        status = self.as_connection.list_insert(key, "abc", 2, 122)
        assert status == 0

        (key, _, bins) = self.as_connection.get(key)

        assert status == 0
        assert bins == {'abc': [None, None, 122]}

        self.as_connection.remove(key)
Invoke list_insert() with non-existent key
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_insert.py/TestListInsert.test_pos_list_insert_with_nonexistent_key