def login_required(f):

    @wraps(f)
    def decorated_function(*args, **kwargs):
        if not session.get('logged_in_user'):
            return redirect(url_for('auth.login', next=request.url))
        return f(*args, **kwargs)
    return decorated_function
Match given name with the step name.
dataset/ETHPy150Open radekstepan/FlaskBudget/presenters/auth.py/login_required--crossover with--dataset/ETHPy150Open pytest-dev/pytest-bdd/pytest_bdd/parsers.py/parse.is_matching