forked from cleveragents/cleveragents-core
fix(test): update facade operation count from 11 to 42
The A2A facade now exposes 42 operations (31 extension + 11 legacy) after the spec-aligned _cleveragents/ extension methods were added. Update the BDD assertion and docs to match the actual count.
This commit is contained in:
@@ -1479,7 +1479,7 @@ The M6 acceptance suite validates the autonomy hardening layer:
|
||||
### Behave Suite: `features/m6_autonomy_acceptance.feature`
|
||||
|
||||
- **Fixture loading** — 3 scenarios verifying JSON structure
|
||||
- **A2A facade dispatch** — 10 scenarios covering all 11 operations
|
||||
- **A2A facade dispatch** — 10 scenarios covering all 42 operations
|
||||
- **A2A error handling** — 2 scenarios (unknown operation, invalid request type)
|
||||
- **Service registration** — 2 scenarios (register + list operations)
|
||||
- **Event queue** — 5 scenarios (publish, subscribe, unsubscribe, close, remote reject)
|
||||
|
||||
@@ -6,7 +6,7 @@ Feature: A2A CLI facade integration
|
||||
|
||||
Scenario: CLI bootstrap creates a wired facade
|
||||
Given a facade created via the CLI bootstrap
|
||||
Then the facade should support all 11 operations
|
||||
Then the facade should support all 42 operations
|
||||
And the facade should be cached on subsequent calls
|
||||
|
||||
Scenario: Session create routes through facade
|
||||
|
||||
@@ -121,10 +121,10 @@ def step_call_notify_facade(context: Any, operation: str) -> None:
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
@then("the facade should support all 11 operations")
|
||||
def step_check_11_operations(context: Any) -> None:
|
||||
@then("the facade should support all 42 operations")
|
||||
def step_check_42_operations(context: Any) -> None:
|
||||
ops = context.facade.list_operations()
|
||||
assert len(ops) == 11, f"Expected 11 operations, got {len(ops)}: {ops}"
|
||||
assert len(ops) == 42, f"Expected 42 operations, got {len(ops)}: {ops}"
|
||||
|
||||
|
||||
@then("the facade should be cached on subsequent calls")
|
||||
|
||||
Reference in New Issue
Block a user