@patch("twilio.rest.resources.base.make_twilio_request")
def test_paging(mock):
    resp = create_mock_json("tests/resources/calls_list.json")
    mock.return_value = resp

    uri = (BASE_URI) % "%s/Calls"
    list_resource.list(started_before=date(2010, 12, 5))
    exp_params = {'StartTime<': '2010-12-05'}

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