Add coverage for ExternalReplyInfo validator guard

This commit is contained in:
latand 2026-02-10 22:34:43 +02:00
parent 58993e0e5e
commit 130e5eb006

View 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