diff --git a/tests/test_utils/test_markdown.py b/tests/test_utils/test_markdown.py index 815b1c5d..e8b7b164 100644 --- a/tests/test_utils/test_markdown.py +++ b/tests/test_utils/test_markdown.py @@ -19,6 +19,8 @@ from aiogram.utils.markdown import ( strikethrough, text, underline, + blockquote, + hblockquote, ) @@ -54,6 +56,22 @@ class TestMarkdown: None, '', ], + [blockquote, ("spam", "eggs"), " ", ">spam eggs"], + pytest.param( + blockquote, + ("spam", "eggs"), + "\n", + ">spam\n>eggs", + id="Markdown V2 blockquote multiline", + ), + [hblockquote, ("spam", "eggs"), " ", "
spam eggs"], + pytest.param( + hblockquote, + ("spam", "eggs"), + "\n", + "
spam\neggs", + id="HTML blockquote multiline", + ), ], ) def test_formatter(