#NEWLINE# def test_confirm_redirect_custom_named( self ) : #NEWLINE# #INDENT# ( url , path ) = self . _test_confirm_start ( ) #NEWLINE# path = path . replace ( '/reset/' , '/reset/custom/named/' ) #NEWLINE# response = self . client . post ( path , { #NEWLINE# #INDENT# 'new_password1' : 'anewpassword' , #NEWLINE# 'new_password2' : 'anewpassword' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( response . status_code , 302 ) #NEWLINE# self . assertURLEqual ( url . url , '/password_reset/' )