-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
______________________ test_preserves_existing_request_id ______________________
Traceback (most recent call last):
File "/home/runner/work/python-dockerflow/python-dockerflow/tests/flask/test_flask.py", line 246, in test_preserves_existing_request_id
assert getattr(g, "_request_id") is not None
File "/home/runner/work/python-dockerflow/python-dockerflow/.tox/py39-fl10/lib/python3.9/site-packages/werkzeug/local.py", line 410, in __get__
obj = instance._get_current_object()
File "/home/runner/work/python-dockerflow/python-dockerflow/.tox/py39-fl10/lib/python3.9/site-packages/werkzeug/local.py", line 530, in _get_current_object
return self.__local() # type: ignore
File "/home/runner/work/python-dockerflow/python-dockerflow/.tox/py39-fl10/lib/python3.9/site-packages/flask/globals.py", line 45, in _lookup_app_object
raise RuntimeError(_app_ctx_err_msg)
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
to interface with the current application object in some way. To solve
this, set up an application context with app.app_context(). See the
documentation for more information.
I'm guessing this is a newer version of werkzeug, as that is unconstrained. I'm also guessing that maybe we could drop this support? According to https://github.com/pallets/flask/releases?after=0.12.4 0.10 was last released in 2013.
Metadata
Metadata
Assignees
Labels
No labels