class documentation

class FlaskCliRunner(CliRunner):

View In Hierarchy

A ~click.testing.CliRunner for testing a Flask app's CLI commands. Typically created using ~flask.Flask.test_cli_runner. See :ref:`testing-cli`.
Method invoke Invokes a CLI command in an isolated environment. See CliRunner.invoke for full method documentation. See :ref:`testing-cli` for examples.
Method __init__ Undocumented
Instance Variable app Undocumented
def invoke(self, cli=None, args=None, **kwargs):

Invokes a CLI command in an isolated environment. See CliRunner.invoke for full method documentation. See :ref:`testing-cli` for examples.

If the obj argument is not given, passes an instance of ~flask.cli.ScriptInfo that knows how to load the Flask app being tested.

Parameters
cli:t.AnyCommand object to invoke. Default is the app's ~flask.app.Flask.cli group.
args:t.AnyList of strings to invoke the command with.
**kwargs:t.AnyUndocumented
Returns
t.Anya ~click.testing.Result object.
def __init__(self, app, **kwargs):

Undocumented

Parameters
app:FlaskUndocumented
**kwargs:t.AnyUndocumented
app =

Undocumented