mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
tests(deprecated): quick fix add assert
This commit is contained in:
parent
c083fcd99a
commit
9f4b76dabc
1 changed files with 1 additions and 1 deletions
|
|
@ -29,4 +29,4 @@ def test_deprecated_handlers_name(observer_name: str):
|
|||
|
||||
with check_deprecated("3.2", exception=AttributeError):
|
||||
observer = getattr(router, observer_name)
|
||||
isinstance(observer, TelegramEventObserver)
|
||||
assert isinstance(observer, TelegramEventObserver)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue