Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Call automation mock test

Clémence Lesnébf354761943f
diff --git a/tests/llm.py b/tests/llm.py
index 4312cdc..7699c9d 100644
--- a/tests/llm.py
+++ b/tests/llm.py
@@ -21,7 +21,7 @@ from pydantic import TypeAdapter
from pytest import assume
import json
import pytest
-from tests.conftest import CallConnectionClientMock
+from tests.conftest import CallAutomationClientMock
_logger = build_logger(__name__)
@@ -175,7 +175,7 @@ async def test_llm(
actual_output = ""
# Mock client
- client = CallConnectionClientMock(play_media_callback=_play_media_callback)
+ client = CallAutomationClientMock(play_media_callback=_play_media_callback)
# Mock call
call.lang = lang