def METHOD_NAME(self):
    app = flask.Flask(__name__)
    @app.route('/')
    def index():
        return 'Hello %s!' % flask.request.args['name']
    @app.route('/meh')
    def meh():
        return flask.request.url
    with app.test_request_context('/?name=World'):
        self.assert_equal(index(), 'Hello World!')
    with app.test_request_context('/meh'):
        self.assert_equal(meh(), 'http://localhost/meh')
    self.assert_true(flask._request_ctx_stack.top is None)