| 3 | from flask import Flask, request |
| 4 | |
| 5 | class TestFlask(unittest.TestCase): |
| 6 | def test_request(self): |
| 7 | app = Flask(__name__) |
| 8 | with app.test_request_context('/foo', method='POST'): |
| 9 | assert request.path == '/foo' |
| 10 | assert request.method == 'POST' |
nothing calls this directly
no outgoing calls
no test coverage detected