def METHOD_NAME(self):
    app = flask.Flask(__name__)
    app.testing = True
    app.secret_key = 'testing'
    with app.test_client() as c:
        rv = c.get('/')
        req = flask.request._get_current_object()
        self.assert_true(req is not None)
        with c.session_transaction():
            self.assert_true(req is flask.request._get_current_object())