#NEWLINE# def test_correct_scope( self ) : #NEWLINE# #INDENT# url = self . client . authorization_url ( 1 , 'www.example.com' , scope = 'write' ) #NEWLINE# self . assertEqual ( self . get_url_param ( self , 'scope' ) , 'write' ) #NEWLINE# url = self . client . authorization_url ( 1 , 'www.example.com' , scope = 'write,view_private' ) #NEWLINE# self . assertEqual ( self . get_url_param ( url , 'scope' ) , 'write,view_private' )