#NEWLINE# def test_repeated_block_repeats_twice( self ) : #NEWLINE# #INDENT# ' The repeated blocks should be able to repeat\n        an arbitrary number of times, this tests that it\n        repeats twice.\n        ' #NEWLINE# t = Template ( ( ( ( t . LOAD_STRING + self . DEFINE_RBLOCK_1 ) + self . REPEAT_RBLOCK_1 ) + self . REPEAT_RBLOCK_1 ) ) #NEWLINE# c = Context ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( t . render ( c ) , 'string1string1string1' )