#NEWLINE# def test_two_distinct_repeat_blocks( self ) : #NEWLINE# #INDENT# ' Multiple repeated blocks should be able to\n        exist and work at the same time.\n        ' #NEWLINE# t = Template ( ( ( ( ( ( ( t . 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 ) ) #NEWLINE# c = Context ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( t . render ( c ) , 'string1string1string2string1string2string1' )