Skip to content

Commit 888dbd0

Browse files
committed
fix: format random button color test
1 parent 283c5ab commit 888dbd0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/tgbot/test_meme_like_count_experiment.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ def test_keyboard_assigns_random_styles_to_buttons_under_meme(monkeypatch):
5858
interface_lang="en",
5959
)
6060

61-
assert [
62-
button.to_dict()["style"]
63-
for row in markup.inline_keyboard
64-
for button in row
65-
] == ["primary", "success", "danger"]
61+
assert [button.to_dict()["style"] for row in markup.inline_keyboard for button in row] == [
62+
"primary",
63+
"success",
64+
"danger",
65+
]
6666

6767

6868
def test_keyboard_renders_visible_like_count(monkeypatch):

0 commit comments

Comments
 (0)