#NEWLINE# def test_no_code_provided( self ) : #NEWLINE# #INDENT# response = self . client . get ( self . url ) #NEWLINE# assert ( response . status_code == 302 ) #NEWLINE# assert ( 'could not be parsed' in response . context [ 'title' ] ) #NEWLINE# assert_url_equal ( response [ 'location' ] , self . login_url ( ) ) #NEWLINE# assert ( not self . login_user . called ) #NEWLINE# assert ( not self . register_user . called )