diff --git a/features/devcontainer_handler_protocol_methods.feature b/features/devcontainer_handler_protocol_methods.feature index 9490a8d3b..8eaf0330b 100644 --- a/features/devcontainer_handler_protocol_methods.feature +++ b/features/devcontainer_handler_protocol_methods.feature @@ -124,10 +124,10 @@ Feature: DevcontainerHandler missing protocol methods Then dcproto the sandbox result should have strategy "snapshot" And dcproto the sandbox result should have a sandbox path - Scenario: dcproto create_sandbox activates container when in DETECTED state + Scenario: dcproto create_sandbox activates container when in DISCOVERED state Given dcproto a devcontainer handler And dcproto a devcontainer-instance resource with location "/ws/project" - And dcproto the container is in DETECTED state + And dcproto the container is in DISCOVERED state And dcproto a mock sandbox manager that returns a valid sandbox And dcproto activate_container is mocked to succeed When dcproto I create a sandbox for the resource with plan "plan-002" diff --git a/features/steps/devcontainer_handler_protocol_methods_steps.py b/features/steps/devcontainer_handler_protocol_methods_steps.py index 8a24086ea..1e6eebc0d 100644 --- a/features/steps/devcontainer_handler_protocol_methods_steps.py +++ b/features/steps/devcontainer_handler_protocol_methods_steps.py @@ -152,8 +152,8 @@ def step_dcproto_container_running(context: Context) -> None: context.dcproto_container_state = ContainerLifecycleState.RUNNING -@given("dcproto the container is in DETECTED state") -def step_dcproto_container_detected(context: Context) -> None: +@given("dcproto the container is in DISCOVERED state") +def step_dcproto_container_discovered(context: Context) -> None: from cleveragents.resource.handlers._devcontainer_internals import ( set_lifecycle_tracker, )