()
| 5 | |
| 6 | |
| 7 | def test_sync_llm(): |
| 8 | def mock_llm(text_in: str): |
| 9 | return text_in.upper() |
| 10 | |
| 11 | pack = SummarizationPack(llm=mock_llm) |
| 12 | |
| 13 | assert pack.run(text="some text") == "SUMMARIZE THE FOLLOWING TEXT:\nSOME TEXT" |
| 14 | |
| 15 | |
| 16 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected