#NEWLINE# def test_authenticated_user_can_view_map( self ) : #NEWLINE# #INDENT# self . client . login ( username = self . standard_user . email , password = 'pass' ) #NEWLINE# response = self . client . get ( reverse ( 'discover:map' ) ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTemplateUsed ( response , 'discover/map.html' )