def test_two_distinct_repeat_blocks(self):
        t = Template(
            self.LOAD_STRING + self.DEFINE_RBLOCK_1 +
            self.REPEAT_RBLOCK_1 +
            self.DEFINE_RBLOCK_2 +
            self.REPEAT_RBLOCK_1 +
            self.REPEAT_RBLOCK_2 +
            self.REPEAT_RBLOCK_1)
        c = Context({})
        self.assertEqual(t.render(c),
                         "string1string1string2string1string2string1")

    # test exceptions
Multiple repeated blocks should be able to
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/RepeatedBlocksTagsTests.test_two_distinct_repeat_blocks