Reformat code

This commit is contained in:
Alex Root Junior 2019-12-25 00:39:08 +02:00
parent 6275bf885c
commit 7cb22f8751

View file

@ -1,6 +1,7 @@
from typing import List, Optional from typing import List, Optional
import pytest import pytest
from aiogram.api.types import MessageEntity, User from aiogram.api.types import MessageEntity, User
from aiogram.utils.text_decorations import TextDecoration, html, markdown from aiogram.utils.text_decorations import TextDecoration, html, markdown
@ -123,13 +124,13 @@ class TestTextDecoration:
[ [
html, html,
"test1 test2 test3", "test1 test2 test3",
[MessageEntity(type="bold", offset=6, length=6),], [MessageEntity(type="bold", offset=6, length=6)],
"test1 <b>test2 </b> test3", "test1 <b>test2 </b> test3",
], ],
[ [
html, html,
"test1 test2", "test1 test2",
[MessageEntity(type="bold", offset=0, length=5),], [MessageEntity(type="bold", offset=0, length=5)],
"<b>test1</b> test2", "<b>test1</b> test2",
], ],
# [ # [