def METHOD_NAME(self):
    env = Environment(loader=DictLoader(dict(
        main="{% for item in [1, 2, 3] %}{% include 'item' %}{% endfor %}",
        item="{{ item }}"
    )))
    assert env.get_template("main").render() == "123"