def METHOD_NAME(self):
    """
    The "placeholder_as_plugins" template tag should raise an error if it has block
    content but the "or keyword was forgotten.
    """
    request = RequestFactory().get("/")
    request.current_page = create_page(
        "current", "richie/single_column.html", "en", published=True
    )
    request.user = AnonymousUser()
    template_without_or = (
        "{% load cms_tags extra_tags %}"
        '{% placeholder_as_plugins "maincontent" as plugins %}'
        "<i>empty content</i>{% endplaceholder_as_plugins %}"
    )
    with self.assertRaises(TemplateSyntaxError):
        self.render_template_obj(template_without_or, {}, request)