mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 18:19:34 +00:00
Backport and improvements (#601)
* Backport RedisStorage, deep-linking * Allow prereleases for aioredis * Bump dependencies * Correctly skip Redis tests on Windows * Reformat tests code and bump Makefile
This commit is contained in:
parent
32bc05130f
commit
83d6ab48c5
43 changed files with 1004 additions and 327 deletions
|
|
@ -3,7 +3,7 @@ from typing import Any
|
|||
import pytest
|
||||
|
||||
from aiogram.dispatcher.handler import ChosenInlineResultHandler
|
||||
from aiogram.types import CallbackQuery, ChosenInlineResult, User
|
||||
from aiogram.types import ChosenInlineResult, User
|
||||
|
||||
|
||||
class TestChosenInlineResultHandler:
|
||||
|
|
|
|||
|
|
@ -2,16 +2,7 @@ from typing import Any
|
|||
|
||||
import pytest
|
||||
|
||||
from aiogram.dispatcher.handler import ErrorHandler, PollHandler
|
||||
from aiogram.types import (
|
||||
CallbackQuery,
|
||||
InlineQuery,
|
||||
Poll,
|
||||
PollOption,
|
||||
ShippingAddress,
|
||||
ShippingQuery,
|
||||
User,
|
||||
)
|
||||
from aiogram.dispatcher.handler import ErrorHandler
|
||||
|
||||
|
||||
class TestErrorHandler:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from typing import Any
|
|||
import pytest
|
||||
|
||||
from aiogram.dispatcher.handler import InlineQueryHandler
|
||||
from aiogram.types import CallbackQuery, InlineQuery, User
|
||||
from aiogram.types import InlineQuery, User
|
||||
|
||||
|
||||
class TestCallbackQueryHandler:
|
||||
|
|
|
|||
|
|
@ -3,15 +3,7 @@ from typing import Any
|
|||
import pytest
|
||||
|
||||
from aiogram.dispatcher.handler import PollHandler
|
||||
from aiogram.types import (
|
||||
CallbackQuery,
|
||||
InlineQuery,
|
||||
Poll,
|
||||
PollOption,
|
||||
ShippingAddress,
|
||||
ShippingQuery,
|
||||
User,
|
||||
)
|
||||
from aiogram.types import Poll, PollOption
|
||||
|
||||
|
||||
class TestShippingQueryHandler:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from typing import Any
|
|||
import pytest
|
||||
|
||||
from aiogram.dispatcher.handler import ShippingQueryHandler
|
||||
from aiogram.types import CallbackQuery, InlineQuery, ShippingAddress, ShippingQuery, User
|
||||
from aiogram.types import ShippingAddress, ShippingQuery, User
|
||||
|
||||
|
||||
class TestShippingQueryHandler:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue