def call_one_by_one(objs, method_name: str, args, **kwargs):
    """
    Call specified method of given objects with given args in order.
    """
    for obj in objs:
        assert hasattr(obj, method_name), \
            "'{cmd}' has no method '{method}".format(
                cmd=obj.__name__,
                method=method_name
            )
        args = getattr(obj, method_name)(args, **kwargs)
    return args