mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
fix(ci): stabilize shared test state after 21012
This commit is contained in:
parent
cd64bed55e
commit
5ce0067c08
7 changed files with 38 additions and 9 deletions
|
|
@ -46,14 +46,14 @@ def test_bundled_plugins_discovered():
|
|||
assert (child / "plugin.yaml").exists(), f"{child.name} missing plugin.yaml"
|
||||
|
||||
|
||||
def test_all_33_profiles_register():
|
||||
"""After discovery, the registry must contain exactly 33 distinct profiles."""
|
||||
def test_all_34_profiles_register():
|
||||
"""After discovery, the registry must contain exactly 34 distinct profiles."""
|
||||
_clear_provider_caches()
|
||||
from providers import list_providers
|
||||
|
||||
profiles = list_providers()
|
||||
names = sorted(p.name for p in profiles)
|
||||
assert len(names) == 33, f"Expected 33 profiles, got {len(names)}: {names}"
|
||||
assert len(names) == 34, f"Expected 34 profiles, got {len(names)}: {names}"
|
||||
|
||||
# Spot-check representative providers from different categories
|
||||
for required in (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue