#NEWLINE# def test_basic( self ) : #NEWLINE# #INDENT# test_url = 'http://www.google.com/' #NEWLINE# self . mocker . register_uri ( 'GET' , test_url , text = 'response' ) #NEWLINE# resp = requests . get ( test_url ) #NEWLINE# self . assertEqual ( 'response' , resp . text ) #NEWLINE# self . assertEqual ( self , self . mocker . last_request . url )