aboutsummaryrefslogtreecommitdiff
path: root/tests/cli/test_init.py
blob: cbdab8c21c109512eae56199832002a221499185 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
#
# SPDX-License-Identifier: BSD-3-Clause

"""Test that all application CLI command groups are exposed."""

from flask import Flask


def test_cli_groups_are_registered(app: Flask) -> None:
    commands = app.cli.commands
    assert {"users", "mail"}.issubset(commands)