Files
guide/tests/unit/actions/test_registration.py
2025-11-22 10:51:25 +00:00

23 lines
950 B
Python

"""Unit tests for action registration and discovery.
Note: Comprehensive action registry tests are limited by pre-existing circular import
in the codebase (guide.app.core.config -> DemoPersona -> PersonaStore -> AppSettings).
These tests focus on what can be tested without triggering the circular import.
"""
class TestActionRegistryPlaceholder:
"""Placeholder tests for action registry (circular import limitation).
The action registry module imports from guide.app.models.domain which has
a pre-existing circular dependency with the configuration loading system.
This limitation should be resolved in a future refactoring phase.
"""
def test_action_registry_module_exists(self) -> None:
"""Test that action registry module can be imported (when not from conftest)."""
# This test verifies that action module package exists
import guide.app.actions
assert guide.app.actions is not None