Refactor API wrapper initialization to streamline configuration handling

This commit is contained in:
2025-10-22 17:06:16 +02:00
parent 93d005c3e5
commit 803ef22fea
6 changed files with 28 additions and 85 deletions

View File

@@ -19,7 +19,7 @@ class TestSocialAPIsTool:
assert post.title is not None
assert post.time is not None
def test_social_api_tool_get_top__all_results(self):
def test_social_api_tool_get_top_all_results(self):
tool = SocialAPIsTool()
result = tool.handler.try_call_all(lambda w: w.get_top_crypto_posts(limit=2))
assert isinstance(result, dict)