Skip to content

Commit 526d6f3

Browse files
test(openai-agents): Add pytest.mark.asyncio to sync tests
1 parent a08ce8e commit 526d6f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integrations/openai_agents/test_openai_agents.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ async def test_client_span_custom_model(
944944

945945

946946
@pytest.mark.parametrize("stream_gen_ai_spans", [True, False])
947+
@pytest.mark.asyncio
947948
def test_agent_invocation_span_sync_no_pii(
948949
sentry_init,
949950
capture_events,
@@ -1077,6 +1078,7 @@ def test_agent_invocation_span_sync_no_pii(
10771078

10781079

10791080
@pytest.mark.parametrize("stream_gen_ai_spans", [True, False])
1081+
@pytest.mark.asyncio
10801082
@pytest.mark.parametrize(
10811083
"instructions",
10821084
(

0 commit comments

Comments
 (0)