()
| 27 | |
| 28 | @app.route('/post', methods=['GET', 'POST']) |
| 29 | def post(): |
| 30 | name = 'Text Analyzer' |
| 31 | if request.method == 'GET': |
| 32 | return render_template('post.html', name=name, title=name) |
| 33 | if request.method == 'POST': |
| 34 | content = request.form['content'] |
| 35 | return redirect(url_for('result')) |
| 36 | |
| 37 | |
| 38 | if __name__ == '__main__': |
nothing calls this directly
no outgoing calls
no test coverage detected