Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Sep 18, 2024
1 parent a736a9a commit bc91d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tests/scenario_tests/test_events_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ def start_thread(say: Say, set_suggested_prompts: SetSuggestedPrompts, context:
assert context.channel_id == "D111"
assert context.thread_ts == "1726133698.626339"
say("Hi, how can I help you today?")
set_suggested_prompts(
title="New chat", prompts=[{"title": "What does SLACK stand for?", "message": "What does SLACK stand for?"}]
)
set_suggested_prompts(prompts=[{"title": "What does SLACK stand for?", "message": "What does SLACK stand for?"}])
state["called"] = True

@assistant.thread_context_changed
Expand Down
2 changes: 1 addition & 1 deletion tests/scenario_tests_async/test_events_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def start_thread(say: AsyncSay, set_suggested_prompts: AsyncSetSuggestedPr
assert context.thread_ts == "1726133698.626339"
await say("Hi, how can I help you today?")
await set_suggested_prompts(
title="New chat", prompts=[{"title": "What does SLACK stand for?", "message": "What does SLACK stand for?"}]
prompts=[{"title": "What does SLACK stand for?", "message": "What does SLACK stand for?"}]
)
state["called"] = True

Expand Down

0 comments on commit bc91d79

Please sign in to comment.