11import uuid
22from concurrent .futures import ThreadPoolExecutor
33
4- import pytest
54from temporalio .client import Client
65from temporalio .worker import Worker
76
87from openai_agents .basic .workflows .remote_image_workflow import RemoteImageWorkflow
98
109
11- # TODO(@donald-pinckney): debug this test
1210async def test_execute_workflow_default_question (client : Client ):
1311 task_queue_name = str (uuid .uuid4 ())
1412
@@ -17,9 +15,7 @@ async def test_execute_workflow_default_question(client: Client):
1715 task_queue = task_queue_name ,
1816 workflows = [RemoteImageWorkflow ],
1917 activity_executor = ThreadPoolExecutor (5 ),
20- # No external activities needed - uses remote URL directly
2118 ):
22- # Using a reliable test image URL
2319 test_image_url = "https://upload.wikimedia.org/wikipedia/commons/0/0c/GoldenGateBridge-001.jpg"
2420
2521 result = await client .execute_workflow (
@@ -34,7 +30,6 @@ async def test_execute_workflow_default_question(client: Client):
3430 assert len (result ) > 0
3531
3632
37- # TODO(@donald-pinckney): debug this test
3833async def test_execute_workflow_custom_question (client : Client ):
3934 task_queue_name = str (uuid .uuid4 ())
4035
@@ -43,9 +38,7 @@ async def test_execute_workflow_custom_question(client: Client):
4338 task_queue = task_queue_name ,
4439 workflows = [RemoteImageWorkflow ],
4540 activity_executor = ThreadPoolExecutor (5 ),
46- # No external activities needed - uses remote URL directly
4741 ):
48- # Using a reliable test image URL
4942 test_image_url = "https://upload.wikimedia.org/wikipedia/commons/0/0c/GoldenGateBridge-001.jpg"
5043 custom_question = "What do you see in this image?"
5144
0 commit comments