mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Reformat code
This commit is contained in:
parent
6275bf885c
commit
7cb22f8751
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from typing import List, Optional
|
||||
|
||||
import pytest
|
||||
|
||||
from aiogram.api.types import MessageEntity, User
|
||||
from aiogram.utils.text_decorations import TextDecoration, html, markdown
|
||||
|
||||
|
|
@ -123,13 +124,13 @@ class TestTextDecoration:
|
|||
[
|
||||
html,
|
||||
"test1 test2 test3",
|
||||
[MessageEntity(type="bold", offset=6, length=6),],
|
||||
[MessageEntity(type="bold", offset=6, length=6)],
|
||||
"test1 <b>test2 </b> test3",
|
||||
],
|
||||
[
|
||||
html,
|
||||
"test1 test2",
|
||||
[MessageEntity(type="bold", offset=0, length=5),],
|
||||
[MessageEntity(type="bold", offset=0, length=5)],
|
||||
"<b>test1</b> test2",
|
||||
],
|
||||
# [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue