def test_list_insert_index_type_string(self):
        """
        Invoke list_insert() insert with index is of type string
        """
        key = ('test', 'demo', 1)

        with pytest.raises(TypeError) as typeError:
            TestListInsert.client.list_insert(key, "age", "Fifth", False)
        assert str(typeError.value) in "an integer is required"
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_insert.py/TestListInsert.test_list_insert_index_type_string/swapped operands of `in`