Spaces:
Sleeping
Sleeping
File size: 382 Bytes
732b14f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import pytest
@pytest.mark.asyncio
async def test_throttled_llm_call_stub() -> None:
from app.llm.llm_throttle import throttled_llm_call
assert callable(throttled_llm_call)
def test_throttled_sync_llm_call_stub() -> None:
from app.llm.llm_throttle import throttled_sync_llm_call
assert throttled_sync_llm_call(phase="t", section_id=None, call=lambda: 1) == 1
|