Path 1: 5 calls (0.83)

{} (5)

FlaskCliRunner (5)

1def test_cli_runner(self, **kwargs: t.Any) -> FlaskCliRunner:
2        """Create a CLI runner for testing CLI commands.
3        See :ref:`testing-cli`.
4
5        Returns an instance of :attr:`test_cli_runner_class`, by default
6        :class:`~flask.testing.FlaskCliRunner`. The Flask app object is
7        passed as the first argument.
8
9        .. versionadded:: 1.0
10        """
11        cls = self.test_cli_runner_class
12
13        if cls is None:
14            from .testing import FlaskCliRunner as cls
15
16        return cls(self, **kwargs)  # type: ignore
            

Path 2: 1 calls (0.17)

{} (1)

test_cli_runner_class..SubRunner (1)

1def test_cli_runner(self, **kwargs: t.Any) -> FlaskCliRunner:
2        """Create a CLI runner for testing CLI commands.
3        See :ref:`testing-cli`.
4
5        Returns an instance of :attr:`test_cli_runner_class`, by default
6        :class:`~flask.testing.FlaskCliRunner`. The Flask app object is
7        passed as the first argument.
8
9        .. versionadded:: 1.0
10        """
11        cls = self.test_cli_runner_class
12
13        if cls is None:
14            from .testing import FlaskCliRunner as cls
15
16        return cls(self, **kwargs)  # type: ignore