mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-16 21:20:39 +03:00
update poetry.lock & add provider VoiGpt (#64)
* update poetry.lock * fix queue test * update to python 3.11.7 * update .gitignore with python version * add provider VoiGpt --------- Co-authored-by: Dmitry Afanasyev <afanasiev@litres.ru>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
from asyncio import AbstractEventLoop
|
||||
from unittest import mock
|
||||
|
||||
import httpx
|
||||
@@ -51,10 +50,9 @@ async def test_bot_webhook_endpoint(
|
||||
|
||||
async def test_bot_queue(
|
||||
bot: BotApplication,
|
||||
event_loop: AbstractEventLoop,
|
||||
) -> None:
|
||||
bot_queue = BotQueue(bot_app=bot)
|
||||
event_loop.create_task(bot_queue.get_updates_from_queue())
|
||||
asyncio.create_task(bot_queue.get_updates_from_queue())
|
||||
|
||||
bot_update = BotUpdateFactory(message=BotMessageFactory.create_instance(text="/help"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user