def METHOD_NAME(self):
    msg = r"bad 'requirejs_main' argument: '"
    with self.assertRaisesRegex(TemplateSyntaxError, msg):
        self.render("""
            {% load hq_shared_tags %}
            {% requirejs_main ' %}
        """)