aiogram/tests/test_filters
Temrjan 0611d0d953
fix: CommandStart(deep_link=False) now rejects deep-link arguments (#1790)
Previously the deep_link parameter only had two effective states:
False (default) accepted any /start command regardless of arguments,
and True required arguments to be present.

Change the default to None (accept both, backward compatible) so that
False can mean "reject if deep-link arguments are present", which is
the intuitive expectation when explicitly passing deep_link=False.

Closes #1713

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:27:29 +03:00
..
__init__.py Dev 3.x flat package (#961) 2022-08-14 01:07:52 +03:00
test_base.py Migrate from Black to Ruff (#1750) 2026-01-04 21:34:08 +02:00
test_callback_data.py Migrate from Black to Ruff (#1750) 2026-01-04 21:34:08 +02:00
test_chat_member_updated.py Added support for Telegram Bot API 9.5 (#1780) 2026-03-03 01:19:11 +02:00
test_command.py fix: CommandStart(deep_link=False) now rejects deep-link arguments (#1790) 2026-04-04 01:27:29 +03:00
test_exception.py Handle expected warnings & raise unexpected warnings (#1315) 2023-10-01 15:28:54 +03:00
test_logic.py Removed Text filter (#1170) 2023-04-22 20:21:17 +03:00
test_magic_data.py Remove warnings about pytest asyncio mode 2022-12-30 16:10:06 +02:00
test_state.py Migrate from Black to Ruff (#1750) 2026-01-04 21:34:08 +02:00