#NEWLINE# def test_view_authenticated_flatpage( self ) : #NEWLINE# #INDENT# 'A flatpage served through a view can require authentication' #NEWLINE# response = self . client . get ( '/flatpage_root/sekrit/' ) #NEWLINE# self . assertRedirects ( response , '/accounts/login/?next=/flatpage_root/sekrit/' )