(bot, chat_id)
| 137 | |
| 138 | @pytest.fixture |
| 139 | async def media_message(bot, chat_id): |
| 140 | # mostly used in tests for edit_message and hence can't be reused |
| 141 | with data_file("telegram.ogg").open("rb") as f: |
| 142 | return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) |
| 143 | |
| 144 | |
| 145 | @pytest.fixture(scope="module") |
nothing calls this directly
no test coverage detected
searching dependent graphs…