"""Area #2 W4 — CharacterStateVariantStep helper migration."""
import pytest


class TestStateDescriptionsRemoved:
    def test_state_descriptions_constant_removed(self):
        from app.core.steps.image_steps import CharacterStateVariantStep
        assert not hasattr(CharacterStateVariantStep, "STATE_DESCRIPTIONS")


class TestHelperImport:
    def test_uses_subject_state_helper(self):
        import app.core.steps.image_steps as image_steps
        # subject_state helper import 확인
        source = image_steps.__file__
        with open(source) as f:
            content = f.read()
        assert "from app.core.subject_state import" in content
        assert "get_visual_descriptor" in content or "is_immobilized_state" in content
