mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Fix tests
This commit is contained in:
parent
9a27b79d40
commit
b170bbc5f6
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ class TestTextDecorations:
|
|||
MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD),
|
||||
MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC),
|
||||
]
|
||||
) == "hi *i'm bold _and italic_\r and still bold*"
|
||||
) == "hi *i'm bold _\rand italic_\r and still bold*"
|
||||
|
||||
def test_unparse_entities_emoji_text(self):
|
||||
"""
|
||||
|
|
@ -22,4 +22,4 @@ class TestTextDecorations:
|
|||
MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD),
|
||||
MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC),
|
||||
]
|
||||
) == "🚀 *i'm bold _and italic_\r and still bold*"
|
||||
) == "🚀 *i'm bold _\rand italic_\r and still bold*"
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py37
|
||||
envlist = py38
|
||||
|
||||
[testenv]
|
||||
deps = -rdev_requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue