mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
sort imports in tests (run make reformat lint)
This commit is contained in:
parent
7ec6e57993
commit
896b452495
5 changed files with 8 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from random import randint
|
||||
|
||||
from aiogram.methods import CopyMessages
|
||||
from aiogram.types import MessageId
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
from random import randint
|
||||
|
||||
from aiogram.methods import ForwardMessages
|
||||
from aiogram.types import MessageId
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from aiogram.methods import AnswerCallbackQuery
|
||||
from aiogram.types import CallbackQuery, User, Message, InaccessibleMessage
|
||||
from aiogram.types import CallbackQuery, InaccessibleMessage, Message, User
|
||||
|
||||
|
||||
class TestCallbackQuery:
|
||||
|
|
|
|||
|
|
@ -18,11 +18,11 @@ from aiogram.methods import GetMe, GetUpdates, SendMessage, TelegramMethod
|
|||
from aiogram.types import (
|
||||
CallbackQuery,
|
||||
Chat,
|
||||
ChatJoinRequest,
|
||||
ChatBoost,
|
||||
ChatBoostRemoved,
|
||||
ChatBoostSourceGiveaway,
|
||||
ChatBoostUpdated,
|
||||
ChatJoinRequest,
|
||||
ChatMemberMember,
|
||||
ChatMemberUpdated,
|
||||
ChosenInlineResult,
|
||||
|
|
@ -34,12 +34,12 @@ from aiogram.types import (
|
|||
PollAnswer,
|
||||
PollOption,
|
||||
PreCheckoutQuery,
|
||||
ReactionCount,
|
||||
ReactionTypeCustomEmoji,
|
||||
ShippingAddress,
|
||||
ShippingQuery,
|
||||
Update,
|
||||
User,
|
||||
ReactionCount,
|
||||
ReactionTypeCustomEmoji,
|
||||
)
|
||||
from aiogram.types.error_event import ErrorEvent
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
|
|
|||
|
|
@ -3,8 +3,10 @@ from typing import Any, Callable, Optional, Tuple
|
|||
import pytest
|
||||
|
||||
from aiogram.utils.markdown import (
|
||||
blockquote,
|
||||
bold,
|
||||
code,
|
||||
hblockquote,
|
||||
hbold,
|
||||
hcode,
|
||||
hide_link,
|
||||
|
|
@ -19,8 +21,6 @@ from aiogram.utils.markdown import (
|
|||
strikethrough,
|
||||
text,
|
||||
underline,
|
||||
blockquote,
|
||||
hblockquote,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue