def test_set_repeated_blocks_sets_variable(self):
        p = make_parser("A short template")
        # check that the parser doesn't initially have the
        # _repeated_blocks attribute
        self.assertFalse(hasattr(p, "_repeated_blocks"))
        # check that set_repeated_blocks actually sets the
        # attribute.
        set_repeated_blocks(p)
        self.assertTrue(hasattr(p, "_repeated_blocks"))
Set repeated blocks must set the _repeated_blocks
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/RepeatedBlocksTagsTests.test_set_repeated_blocks_sets_variable