fix: resolve ambiguous step definition conflict in execution_environment_steps.py

- Renamed 'it should contain' steps to 'the container types should contain' for specificity
- Updated execution_environment.feature to use the new step names
- This fixes the AmbiguousStep error that was preventing unit tests from running
This commit is contained in:
2026-04-22 07:07:59 +00:00
committed by Forgejo
parent 45a7800635
commit d51f3a05ae
2 changed files with 6 additions and 7 deletions
@@ -342,12 +342,12 @@ def step_import_types(context: Context) -> None:
context.container_types = CONTAINER_RESOURCE_TYPES
@then('it should contain "{value}"')
@then('the container types should contain "{value}"')
def step_types_contain(context: Context, value: str) -> None:
assert value in context.container_types
@then('it should not contain "{value}"')
@then('the container types should not contain "{value}"')
def step_types_not_contain(context: Context, value: str) -> None:
assert value not in context.container_types