Skip to content

Commit c68e198

Browse files
committed
fix: correct step definition matching in behave tests
- Fix step definition for 'a developer has created a Container named' - Update feature file to use consistent wording for And steps - All step definitions now properly match feature file steps - Behave integration verified: 22 steps matched, 0 undefined
1 parent 3a95cf0 commit c68e198

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/basic_container.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Feature: Basic Container Structure
4646

4747
Scenario: Developer creates multiple independent containers
4848
Given a developer has created a Container named "container_a"
49-
And the developer has created a Container named "container_b"
49+
And a developer has created a Container named "container_b"
5050
When the developer modifies "container_a"
5151
Then "container_b" remains unchanged
5252
And the containers maintain independent state

features/steps/container_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def step_response_is_iterable(context: Context) -> None:
191191
pass
192192

193193

194-
@given('the developer has created a Container named "{container_name}"')
194+
@given('a developer has created a Container named "{container_name}"')
195195
def step_create_named_container(context: Context, container_name: str) -> None:
196196
"""Create a Container with a specific name for tracking."""
197197
from rivet_di import (

0 commit comments

Comments
 (0)