def METHOD_NAME(self):
    # this version can be used in a base template that may or may not use requirejs
    self.assertEqual(
        self.render("""
            {% load hq_shared_tags %}
            {% requirejs_main %}
            {% if requirejs_main %}unexpected truth{% endif %}
            {{requirejs_main}}
        """).strip(),
        "None",
    )