Skip to content

Commit 68bac09

Browse files
committed
chore: make check-fix
1 parent ced4c5c commit 68bac09

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/playwright/shiny/components/chat/icon/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def handle_user_input_otter(user_input: str):
4949
icon_name = input.animal().lower()
5050
await chat_animal.append_message(
5151
f"{input.animal()} said: {user_input}",
52-
icon = faicons.icon_svg(icon_name).add_class(f"icon-{icon_name}")
52+
icon=faicons.icon_svg(icon_name).add_class(f"icon-{icon_name}"),
5353
)
5454

5555
# SVG Bot -------------------------------------------------------------------------

tests/playwright/shiny/components/chat/icon/test_chat_icon.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ def expect_last_message_icon_to_have_classes(self, classes: str | None = None):
1818
'slot[name="icon"] > :first-child'
1919
)
2020
else:
21-
last_msg_icon = self.chat.loc_latest_message.locator(
22-
'[slot="icon"]'
23-
)
21+
last_msg_icon = self.chat.loc_latest_message.locator('[slot="icon"]')
2422

2523
expect(last_msg_icon).to_have_class(classes or self.classes)
2624

0 commit comments

Comments
 (0)