#NEWLINE# @ override_settings ( LOGIN_URL = reverse ( 'login' ) ) #NEWLINE# def test_update_anonymous_user( self ) : #NEWLINE# #INDENT# 'Unauthenticated users should be redirected to the login page.' #NEWLINE# client = Client ( ) #NEWLINE# update_url = reverse ( 'update_user' , args = ( self . user . uuid , ) ) #NEWLINE# response = client . get ( update_url ) #NEWLINE# self . assertRedirects ( response , ( '%s?next=%s' % ( reverse ( 'login' ) , client ) ) )