Skip to content

Commit 7218291

Browse files
Assert real equality on mock test
1 parent 0de100f commit 7218291

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/openai_agents/basic/test_hello_world_workflow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ async def test_execute_workflow(client: Client):
3535
id=str(uuid.uuid4()),
3636
task_queue=task_queue_name,
3737
)
38-
assert isinstance(result, str)
39-
assert len(result) > 0
38+
assert result == "This is a haiku (not really)"

0 commit comments

Comments
 (0)