Skip to content

Commit 75c5fdc

Browse files
committed
Fix async test markers in test_random.py
Signed-off-by: Roberto Rodriguez <[email protected]>
1 parent 016510f commit 75c5fdc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/workflow/orchestrators/test_random.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def orchestrator_config():
1616
}
1717

1818

19-
@pytest.mark.asyncio
20-
async def test_random_orchestrator_initialization(orchestrator_config):
19+
def test_random_orchestrator_initialization(orchestrator_config):
2120
"""Test that RandomOrchestrator can be initialized."""
2221
with patch(
2322
"dapr_agents.workflow.orchestrators.random.OrchestratorWorkflowBase.model_post_init"
@@ -49,8 +48,7 @@ async def test_process_input(orchestrator_config):
4948
assert result["content"] == task
5049

5150

52-
@pytest.mark.asyncio
53-
async def test_select_random_speaker(orchestrator_config):
51+
def test_select_random_speaker(orchestrator_config):
5452
"""Test the select_random_speaker task."""
5553
with patch(
5654
"dapr_agents.workflow.orchestrators.random.OrchestratorWorkflowBase.model_post_init"

0 commit comments

Comments
 (0)