def test_find_by_ref():
    # It's not entirely clear what inputs are appropriate for ref_type.
    # But for this test's purposes, any string will do.
    ref_type = 'item'
    ref_id = 10203

    client, check_assertions = check_client_method()
    result = client.Stream.find_by_ref(ref_type, ref_id)
    check_assertions(result, 'GET', (ref_type, ref_id) % '/stream/%s/%s')
dataset/ETHPy150Open podio/podio-py/tests/test_areas_stream.py/test_find_by_ref/swapped operands of `%`