forked from orbit-oss/flask
Merge pull request #2630 from anowlcalledjosh/2627-test_request_context-docs
Fix docs for test_request_context
This commit is contained in:
commit
79f34f1769
1 changed files with 2 additions and 2 deletions
|
|
@ -2140,8 +2140,8 @@ class Flask(_PackageBoundObject):
|
|||
return RequestContext(self, environ)
|
||||
|
||||
def test_request_context(self, *args, **kwargs):
|
||||
"""Creates a WSGI environment from the given values (see
|
||||
:class:`werkzeug.test.EnvironBuilder` for more information, this
|
||||
"""Creates a :class:`~flask.ctx.RequestContext` from the given values
|
||||
(see :class:`werkzeug.test.EnvironBuilder` for more information, this
|
||||
function accepts the same arguments plus two additional).
|
||||
|
||||
Additional arguments (only if ``base_url`` is not specified):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue