Question 12
Consider the following flask app. Given that test_request_context() allows text to be printed on the terminal, which of the following statements is correct?
from flask import Flask, url_for
app = Flask(__name__)
@app.route('/hello')def hello(): return 'Hello World!'
@app.route('/user/<username>')def user(username): return f'Welcome {username}!'
with app.test_request_context(): #== print statement ==#