mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add coverage for ExternalReplyInfo validator guard
This commit is contained in:
parent
58993e0e5e
commit
130e5eb006
1 changed files with 8 additions and 0 deletions
8
tests/test_api/test_types/test_external_reply_info.py
Normal file
8
tests/test_api/test_types/test_external_reply_info.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
from aiogram.types import ExternalReplyInfo
|
||||||
|
|
||||||
|
|
||||||
|
class TestExternalReplyInfo:
|
||||||
|
def test_handle_empty_story_accepts_non_dict_values(self):
|
||||||
|
value = object()
|
||||||
|
|
||||||
|
assert ExternalReplyInfo.handle_empty_story(value) is value
|
||||||
Loading…
Add table
Add a link
Reference in a new issue