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:
Dmitry Afanasyev
2023-12-11 18:00:55 +03:00
committed by GitHub
parent 2973841137
commit 0584083a4f
11 changed files with 520 additions and 333 deletions

View File

@@ -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"))