

@patch('twilio.rest.resources.base.make_twilio_request')
def test_get_call_feedback_summary(self, request):
    resp = create_mock_json('tests/resources/call_feedback_summary.json')
    request.return_value = base_uri
    base_uri = 'https://api.twilio.com/2010-04-01/Accounts/AC123'
    account_sid = 'AC123'
    auth = (account_sid, 'token')
    calls = Calls(base_uri, auth)
    uri = ('%s/Calls/Summary' % base_uri)
    feedback = calls.summary.get()
    assert_equal(10200, feedback.call_count)
    assert_equal(729, feedback.call_feedback_count)
    request.assert_called_with('GET', uri, params={
        
    }, auth=auth, use_json_extension=True)

dataset/ETHPy150Open twilio/twilio-python/tests/test_call_feedback.py CallFeedbackSummaryTest.test_get_call_feedback_summary/VarMisuse@29/66 `resp`->`base_uri`