Flask - Testing Flask Applications
Given this Flask test code snippet, what will
print(response.status_code) output?from flask import Flask
app = Flask(__name__)
@app.route('/hello')
def hello():
return 'Hi there!', 200
with app.test_client() as client:
response = client.get('/hello')