Path 1: 346 calls (1.0)

Flask (342) test_session_dynamic_cookie_name..CustomFlask (4)

'/' (343) '/foo' (2) '/bar' (1)

1def get_cookie_path(self, app: Flask) -> str:
2        """Returns the path for which the cookie should be valid.  The
3        default implementation uses the value from the ``SESSION_COOKIE_PATH``
4        config var if it's set, and falls back to ``APPLICATION_ROOT`` or
5        uses ``/`` if it's ``None``.
6        """
7        return app.config["SESSION_COOKIE_PATH"] or app.config["APPLICATION_ROOT"]