Merge branch 'stable'
This commit is contained in:
commit
6b054f8f38
3 changed files with 13 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ from urllib.parse import urlsplit
|
|||
|
||||
import werkzeug.test
|
||||
from click.testing import CliRunner
|
||||
from click.testing import Result
|
||||
from werkzeug.test import Client
|
||||
from werkzeug.wrappers import Request as BaseRequest
|
||||
|
||||
|
|
@ -273,7 +274,7 @@ class FlaskCliRunner(CliRunner):
|
|||
|
||||
def invoke( # type: ignore
|
||||
self, cli: t.Any = None, args: t.Any = None, **kwargs: t.Any
|
||||
) -> t.Any:
|
||||
) -> Result:
|
||||
"""Invokes a CLI command in an isolated environment. See
|
||||
:meth:`CliRunner.invoke <click.testing.CliRunner.invoke>` for
|
||||
full method documentation. See :ref:`testing-cli` for examples.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue