refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -1,17 +1,13 @@
|
||||
"""Tests for the LongCat provider registration."""
|
||||
|
||||
from nanobot.config.schema import ProvidersConfig
|
||||
from nanobot.providers.registry import PROVIDERS, find_by_name
|
||||
|
||||
|
||||
def test_longcat_config_field_exists():
|
||||
"""ProvidersConfig should have a longcat field."""
|
||||
config = ProvidersConfig()
|
||||
assert hasattr(config, "longcat")
|
||||
|
||||
|
||||
def test_longcat_provider_in_registry():
|
||||
"""LongCat should be registered in the provider registry."""
|
||||
specs = {s.name: s for s in PROVIDERS}
|
||||
assert "longcat" in specs
|
||||
|
||||
@@ -22,7 +18,6 @@ def test_longcat_provider_in_registry():
|
||||
|
||||
|
||||
def test_find_by_name_longcat():
|
||||
"""find_by_name should resolve the LongCat provider."""
|
||||
spec = find_by_name("longcat")
|
||||
|
||||
assert spec is not None
|
||||
|
||||
Reference in new issue
Block a user