File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ An instance of ``app.test_client``. Typically refers to
84
84
85
85
.. hint ::
86
86
87
- During tests execution the application has pushed context , e.g.
87
+ During tests execution the request context has been pushed , e.g.
88
88
``url_for ``, ``session `` and other context bound objects are available
89
89
without context managers.
90
90
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ def test_json(client):
64
64
65
65
66
66
@pytest .fixture (autouse = True )
67
- def _push_application_context (request ):
68
- """During tests execution application has pushed context , e.g. `url_for`,
67
+ def _push_request_context (request ):
68
+ """During tests execution request context has been pushed , e.g. `url_for`,
69
69
`session`, etc. can be used in tests as is::
70
70
71
71
def test_app(app, client):
Original file line number Diff line number Diff line change 28
28
def test_app(app):
29
29
assert not app.debug, 'Ensure the app not in debug mode'
30
30
31
- During tests execution the application has pushed context , e.g. ``url_for``,
31
+ During tests execution the request context has been pushed , e.g. ``url_for``,
32
32
``session`` and other context bound objects are available without context
33
33
managers:
34
34
You can’t perform that action at this time.
0 commit comments