add ci tests in docker compose (#11)

This commit is contained in:
Dmitry Afanasyev
2023-09-26 13:28:34 +03:00
committed by GitHub
parent e8ace80d68
commit 4e97baf525
8 changed files with 26 additions and 26 deletions

View File

@@ -40,6 +40,8 @@ class BotApplication:
logger.info("webhook has been deleted")
async def polling(self) -> None:
if self.settings.STAGE == "runtests":
return None
await self.application.initialize()
await self.application.start()
await self.application.updater.start_polling() # type: ignore