From 37bc3853dded34e3d1323874927979ce510e4910 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Fri, 30 Oct 2026 11:51:34 +0100 Subject: test: align test suite with package structure --- tests/cli/test_init.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/cli/test_init.py (limited to 'tests/cli/test_init.py') diff --git a/tests/cli/test_init.py b/tests/cli/test_init.py new file mode 100644 index 0000000..cbdab8c --- /dev/null +++ b/tests/cli/test_init.py @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: 2026 Dennis Fink +# +# 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) -- cgit v1.3.1