mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-21 10:22:18 +00:00
test: retarget source-path refs to migrated plugin paths
test_telegram_webhook_secret reads telegram adapter source by path; point it at plugins/platforms/telegram/adapter.py. test_windows_native_support npm-spawn parametrization referenced gateway/platforms/whatsapp.py; point it at plugins/platforms/whatsapp/adapter.py.
This commit is contained in:
parent
5600105478
commit
c329279482
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ class TestTelegramWebhookSecretRequired:
|
|||
"""
|
||||
|
||||
def _get_source(self) -> str:
|
||||
path = Path(_repo) / "gateway" / "platforms" / "telegram.py"
|
||||
path = Path(_repo) / "plugins" / "platforms" / "telegram" / "adapter.py"
|
||||
return path.read_text(encoding="utf-8")
|
||||
|
||||
def test_webhook_branch_checks_secret(self):
|
||||
|
|
|
|||
|
|
@ -766,7 +766,7 @@ class TestNpmBareSpawnsResolved:
|
|||
[
|
||||
"hermes_cli/tools_config.py",
|
||||
"hermes_cli/doctor.py",
|
||||
"gateway/platforms/whatsapp.py",
|
||||
"plugins/platforms/whatsapp/adapter.py",
|
||||
"tools/browser_tool.py",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue