Add comprehensive tests for plugin management and IPC functionality

- Introduced tests for the plugin catalogue installation and update flows in `test_plugin_catalogue_install.py`.
- Added unit tests for the GitHub Releases plugin client in `test_plugin_github_releases.py`.
- Implemented IPC tests for the plugin manager Unix socket protocol in `test_plugin_ipc.py`.
- Created lifecycle and installation tests for the plugin manager in `test_plugin_manager_lifecycle.py`.
- Added tests for plugin manifest parsing in `test_plugin_manifest.py`.
- Developed tests for plugin filesystem layout and state management in `test_plugin_storage.py`.
This commit is contained in:
Rightup committed 2026-09-03 22:16:38 +01:00
1 parent bd0c340856
commit 26560fd50a
30 files changed
+5742 -1

No files matched your search

+2
View File
@@ -245,6 +245,8 @@ def _collect_routes() -> dict[str, RouteInfo]:
(WEB_DIR / "companion_endpoints.py", "CompanionAPIEndpoints", ["/companion"]),
# Nested /api/update/* endpoints are described as /update/* when documented.
(WEB_DIR / "update_endpoints.py", "UpdateAPIEndpoints", ["/update"]),
# Nested /api/plugins/* endpoints are described as /plugins/*.
(WEB_DIR / "plugin_endpoints.py", "PluginAPIEndpoints", ["/plugins"]),
# Auth top-level endpoints are mounted at /auth/*
(WEB_DIR / "auth_endpoints.py", "AuthEndpoints", ["/auth"]),
# Token sub-resource is exposed both under /auth and /api/auth in current routing.