Skip to content

Instantly share code, notes, and snippets.

@gnomefin
Created April 25, 2026 14:16
Show Gist options
  • Select an option

  • Save gnomefin/26b4d6d2cf17c2d7209562ba8e8ca4c3 to your computer and use it in GitHub Desktop.

Select an option

Save gnomefin/26b4d6d2cf17c2d7209562ba8e8ca4c3 to your computer and use it in GitHub Desktop.
collection-service: TestGetAgentConfigurationTtsRouting — 8 unit tests for levers:levers-tts routing (PR #1237)
============================= test session starts ==============================
platform darwin -- Python 3.14.0, pytest-9.0.2, pluggy-1.6.0 -- /Users/levers/Documents/Github/collection-service/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/levers/Documents/Github/collection-service
configfile: pyproject.toml
plugins: anyio-4.12.1, Faker-12.0.1, recording-0.13.4, xdist-3.8.0, langsmith-0.7.32, asyncio-1.3.0, sugar-1.1.1, factoryboy-2.8.1, env-1.2.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... collected 8 items
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_no_tts_override_keeps_default_provider_and_model PASSED [ 12%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_11labs_override_keeps_provider_eleven_labs PASSED [ 25%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_levers_override_sets_provider_levers PASSED [ 37%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_voice_id_and_speed_independent_of_provider_routing PASSED [ 50%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_all_allowed_tts_values_route_to_matching_provider[11labs:eleven_flash_v2_5-11labs-eleven_flash_v2_5] PASSED [ 62%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_all_allowed_tts_values_route_to_matching_provider[11labs:eleven_turbo_v2_5-11labs-eleven_turbo_v2_5] PASSED [ 75%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_all_allowed_tts_values_route_to_matching_provider[11labs:eleven_multilingual_v2-11labs-eleven_multilingual_v2] PASSED [ 87%]
tests/application/ai/phone_calls/test_base.py::TestGetAgentConfigurationTtsRouting::test_all_allowed_tts_values_route_to_matching_provider[levers:levers-tts-levers-levers-tts] PASSED [100%]
============================== 8 passed in 1.02s ===============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment