

@patch('twilio.rest.resources.base.make_twilio_request')
def test_arbitrary_member(self, mock_request):
    mock_response = Mock()
    mock_response.ok = True
    mock_response.content = json.dumps({
        'short_codes': [],
    })
    mock_request.return_value = mock_response
    assert_equal([], self.client.sms.short_codes.list())
    mock_request.assert_called_once_with('GET', ANY, params=ANY, auth=AUTH, timeout=sentinel.timeout, use_json_extension=True)

dataset/ETHPy150Open twilio/twilio-python/tests/test_client.py RestClientTimeoutTest.test_arbitrary_member/original