@patch("twilio.rest.resources.base.make_twilio_request")
def test_create_call_status_events_none(mock):
    resp = create_mock_json("tests/resources/calls_instance.json")
    resp.status_code = 201
    mock.return_value = resp

    uri = (BASE_URI) % "%s/Calls"
    list_resource.create("TO", "FROM", "url",
                         status_callback="http://example.com")
    exp_params = {
        'To': "TO",
        'From': "FROM",
        'Url': "url",
        'StatusCallback': 'http://example.com',
        }

    mock.assert_called_with("POST", uri, data=exp_params, auth=AUTH,
                            use_json_extension=True)
dataset/ETHPy150Open twilio/twilio-python/tests/test_calls.py/test_create_call_status_events_none/swapped operands of `%`