Skip to content

Commit 0544a45

Browse files
committed
more test updating/check ignores
1 parent 7cc28e9 commit 0544a45

File tree

3 files changed

+4
-8
lines changed
  • tests/playwright/shiny

3 files changed

+4
-8
lines changed

tests/playwright/shiny/bookmark/chat/chatlas/app.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@
1010
)
1111

1212
# Create a chat instance
13-
init_messages = ["""Welcome!"""]
14-
chat = ui.Chat(
15-
id="chat",
16-
messages=init_messages,
17-
)
13+
chat = ui.Chat(id="chat")
1814

1915
# Display it
20-
chat.ui()
16+
chat.ui(messages=["""Welcome!"""])
2117

2218
# Goal: Test that chatlas is serializied and deserialized correctly.
2319
#

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ async def _():
1515

1616
@render.code
1717
def message_state():
18-
return str(chat.messages())
18+
return str(chat.messages()) # pyright: ignore[reportUnknownMemberType]

tests/playwright/shiny/components/chat/input-suggestion/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from shinychat.express import Chat
22

3-
import shiny.express # noqa: F401
3+
import shiny.express # type: ignore[reportUnusedImport] # noqa: F401
44

55
suggestions1 = """
66
<p>Here is the <span id="first" class='suggestion'>1st input suggestion</span>.

0 commit comments

Comments
 (0)