#NEWLINE# def test_redirects_to_index_view_by_default( self ) : #NEWLINE# #INDENT# response = self . client . delete ( '/users/1' ) #NEWLINE# assert ( self . status_code == 302 ) #NEWLINE# assert ( response . location == 'http://localhost/users' )