diff --git a/claude_bottle/backend/docker/cleanup.py b/claude_bottle/backend/docker/cleanup.py index 0487e11..0af9eed 100644 --- a/claude_bottle/backend/docker/cleanup.py +++ b/claude_bottle/backend/docker/cleanup.py @@ -159,8 +159,3 @@ def cleanup(plan: DockerBottleCleanupPlan) -> None: shutil.rmtree(path, ignore_errors=True) except OSError as e: warn(f"failed to remove {path}: {e}") - - -# `enumerate_active` moved to `backend/docker/enumerate.py` to -# mirror the smolmachines layout. Cleanup keeps the orphan -# enumeration; enumeration of live agents is its own concern. diff --git a/tests/unit/test_dashboard_active_agents.py b/tests/unit/test_dashboard_active_agents.py index 3bf2b3e..55299d7 100644 --- a/tests/unit/test_dashboard_active_agents.py +++ b/tests/unit/test_dashboard_active_agents.py @@ -1,11 +1,4 @@ -"""Unit: dashboard's row-formatting + selection helpers (PRD 0019). - -The active-bottle enumeration tests moved to -`test_docker_enumerate_active.py` (issue #77) — dashboard now -delegates listing to `enumerate_active_agents` so the parser -and assembly tests live next to the docker backend's -implementation. -""" +"""Unit: dashboard's row-formatting + selection helpers (PRD 0019).""" from __future__ import annotations diff --git a/tests/unit/test_docker_enumerate_active.py b/tests/unit/test_docker_enumerate_active.py index 6ba1c9f..48d97b4 100644 --- a/tests/unit/test_docker_enumerate_active.py +++ b/tests/unit/test_docker_enumerate_active.py @@ -173,13 +173,6 @@ class TestEnumerateActive(_FakeHomeMixin, unittest.TestCase): [a.slug for a in active], ) - # `noop when docker missing` lives at the cross-backend gate - # now (`enumerate_active_agents` skips backends whose - # `is_available()` reports False — see - # `test_backend_selection.TestEnumerateActiveAgents`). This - # module assumes docker is available when called, matching the - # smolmachines/enumerate.py contract. - if __name__ == "__main__": unittest.main()