#NEWLINE# def test_get_flatpages_with_prefix_for_user( self ) : #NEWLINE# #INDENT# 'The flatpage template tag retrive prefixed flatpages for an authenticated user' #NEWLINE# out = Template ( "{% load flatpages %}{% get_flatpages '/location/' for me as location_flatpages %}{% for page in location_flatpages %}{{ page.title }},{% endfor %}" ) . render ( Context ( { #NEWLINE# #INDENT# 'me' : self . me , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertEqual ( self , 'A Nested Flatpage,Sekrit Nested Flatpage,' )