feat(system): feat(aipass): DPLAN-0164 Phases 4-5 — remove init from CLI, move tests, fix routing assertions

Co-Authored-By: @devpulse <devpulse@aipass>
This commit is contained in:
AIOSAI
2026-05-04 21:37:32 -07:00
co-authored by @devpulse
parent ee2716e63f
commit 9281efeacc
43 changed files with 3099 additions and 2326 deletions
-15
View File
@@ -104,21 +104,6 @@ class TestMainFlow:
err_output = get_err()
assert "Unknown command" in err_output
def test_main_aipass_init_help_returns_zero(self):
"""'aipass init --help' returns 0."""
cons, _get_output = _make_capture_console()
err_cons, _get_err = _make_capture_console()
with (
patch.object(cli_module, "CONSOLE", cons),
patch.object(display, "CONSOLE", cons),
patch.object(display, "err_console", err_cons),
patch.object(display, "_TRIGGER", None),
patch.object(display, "_TRIGGER_LOADED", True),
patch("sys.argv", ["cli", "aipass", "init", "--help"]),
):
result = main()
assert result == 0
def test_main_display_demo_returns_zero(self):
"""'display demo' returns 0."""
cons, _get_output = _make_capture_console()