#NEWLINE# def test_authorization_requires_response_type( self ) : #NEWLINE# #INDENT# self . login ( ) #NEWLINE# response = self . client . get ( ( self . auth_url ( ) + ( '?client_id=%s' % self . get_client ( ) . client_id ) ) ) #NEWLINE# response = self . client . get ( self . auth_url2 ( ) ) #NEWLINE# self . assertEqual ( 400 , response . status_code ) #NEWLINE# self . assertTrue ( ( escape ( "No 'response_type' supplied." ) in response . content ) )