diff --git a/tests/test_dispatcher/test_dispatcher.py b/tests/test_dispatcher/test_dispatcher.py index be0c68dc..8d3c81e6 100644 --- a/tests/test_dispatcher/test_dispatcher.py +++ b/tests/test_dispatcher/test_dispatcher.py @@ -20,6 +20,7 @@ from aiogram.types import ( Chat, ChatJoinRequest, ChatBoost, + ChatBoostRemoved, ChatBoostSourceGiveaway, ChatBoostUpdated, ChatMemberMember, @@ -508,6 +509,22 @@ class TestDispatcher: True, False, ), + pytest.param( + "removed_chat_boost", + Update( + update_id=42, + removed_chat_boost=ChatBoostRemoved( + chat=Chat(id=-42, type="channel"), + boost_id="qwerty", + remove_date=datetime.datetime.now(), + source=ChatBoostSourceGiveaway( + giveaway_message_id=77, + ), + ), + ), + True, + False, + ), ], ) async def test_listen_update(