INNER CODE UNIT · Python

test_cli_runner

michaelzhang-ai/Text2Video · venv_vid2vid/lib/python3.7/site-packages/flask/app.py:1053

    def test_cli_runner(self, **kwargs):
        """Create a CLI runner for testing CLI commands.
        See :ref:`testing-cli`.

        Returns an instance of :attr:`test_cli_runner_class`, by default
        :class:`~flask.testing.FlaskCliRunner`. The Flask app object is
        passed as the first argument.

        .. versionadded:: 1.0
        """
        cls = self.test_cli_runner_class

        if cls is None:
            from .testing import FlaskCliRunner as cls

        return cls(self, **kwargs)

    def open_session(self, request):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…