

@patch('twilio.rest.resources.base.make_twilio_request')
def test_get_role(self, mock):
    resp = create_mock_json('tests/resources/ip_messaging/role_instance.json')
    mock.return_value = uri
    uri = ('%s/Roles/%s' % (BASE_URI, ROLE_SID))
    list_resource.get(ROLE_SID)
    mock.assert_called_with('GET', uri, auth=AUTH, use_json_extension=False)

dataset/ETHPy150Open twilio/twilio-python/tests/ip_messaging/test_roles.py RoleTest.test_get_role/VarMisuse@29/65 `resp`->`uri`