12312421
This commit is contained in:
@@ -3,7 +3,7 @@ from session_bot.render import build_channel_text
|
||||
|
||||
def test_build_channel_text_includes_phrase_and_status() -> None:
|
||||
config = {
|
||||
"header": "header",
|
||||
"header_html": "<b>header</b>",
|
||||
"actors": [
|
||||
{
|
||||
"key": "astat",
|
||||
@@ -21,6 +21,7 @@ def test_build_channel_text_includes_phrase_and_status() -> None:
|
||||
|
||||
text = build_channel_text(config, state)
|
||||
|
||||
assert "ASTAT" in text
|
||||
assert "<b>header</b>" in text
|
||||
assert '<a href="https://t.me/example"><b>ASTAT</b></a>' in text
|
||||
assert "исполняет роль" in text
|
||||
assert "готов к игре" in text
|
||||
|
||||
Reference in New Issue
Block a user