def test_macro_block_with_no_macro_definition(self):
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^Macro .+ is not defined previously to the .+ tag$",
            Template,
            self.LOAD_MACROS + "{% macro_block macro3 %}{% endmacro_block %}")
Set up the API app.
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_block_with_no_macro_definition--crossover with--dataset/ETHPy150Open openstack/ironic-python-agent/ironic_python_agent/api/app.py/setup_app