fix(test): resolve AmbiguousStep collision after master merge
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 18s
CI / build (pull_request) Successful in 16s
CI / security (pull_request) Successful in 42s
CI / typecheck (pull_request) Successful in 44s
CI / integration_tests (pull_request) Successful in 2m57s
CI / unit_tests (pull_request) Successful in 5m9s
CI / docker (pull_request) Successful in 43s
CI / benchmark-regression (pull_request) Successful in 14m0s
CI / coverage (pull_request) Successful in 14m9s

Renamed 'listing actors with namespace' step in actor_loading_steps.py
to 'listing loaded actors with namespace' to avoid collision with
actor_registry_persistence_steps.py from master. Updated
actor_loading.feature to use renamed step.
This commit is contained in:
2026-02-20 20:24:10 +00:00
parent 85dc638093
commit aefcc74d76
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -126,8 +126,8 @@ Feature: Actor registry and loader
| ana.yaml | assistants/analyzer | llm | gpt-4 |
When I create an actor loader with that directory as search root
And I run discovery
Then listing actors with namespace "assistants" should return 2 actors
And listing actors with namespace "utilities" should return 1 actors
Then listing loaded actors with namespace "assistants" should return 2 actors
And listing loaded actors with namespace "utilities" should return 1 actors
# ────────────────────────────────────────────────────────────
# Content hash caching
+3 -1
View File
@@ -317,7 +317,9 @@ def step_then_get_none(context: Context, name: str) -> None:
assert config is None, f"Expected None for '{name}', got {config}"
@then('listing actors with namespace "{namespace}" should return {count:d} actors')
@then(
'listing loaded actors with namespace "{namespace}" should return {count:d} actors'
)
def step_then_list_by_namespace(context: Context, namespace: str, count: int) -> None:
loader: ActorLoader = context._loader
actors = loader.list_actors(namespace=namespace)