

@patch('twilio.rest.resources.base.make_twilio_request')
def test_get_call_feedback(self, request):
    resp = create_mock_json('tests/resources/call_feedback.json')
    request.return_value = resp
    mock = Mock()
    mock.uri = '/base'
    call = Call(mock, 'CA123')
    call.load_subresources()
    feedback = call.feedback.get()
    assert_equal(5, feedback.quality_score, 5)
    assert_equal(['imperfect-audio', 'post-dial-delay'], resp.issues)

dataset/ETHPy150Open twilio/twilio-python/tests/test_call_feedback.py CallFeedbackTest.test_get_call_feedback/VarMisuse@87/143 `feedback`->`resp`