#NEWLINE# def test_get_calls_get( self , monkeypatch ) : #NEWLINE# #INDENT# mock_request = mock . Mock ( ) #NEWLINE# monkeypatch . setattr ( requests , 'record_or_load_response' , mock_request ) #NEWLINE# requests . get ( 'test' , tota = 'dyle' ) #NEWLINE# mock_request . assert_called_once_with ( 'get' , 'test' , tota = 'dyle' )