Skip to content

Commit 0a9f03a

Browse files
committed
Linting
1 parent bd6a4f8 commit 0a9f03a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/contrib/openai_agents/test_openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ async def get_response(
18591859
prompt: Union[ResponsePromptParam, None] = None,
18601860
) -> ModelResponse:
18611861
activity.logger.info("Waiting")
1862-
await asyncio.sleep(.5)
1862+
await asyncio.sleep(0.5)
18631863
activity.logger.info("Returning")
18641864
return ModelResponse(
18651865
output=[
@@ -1900,7 +1900,7 @@ async def test_heartbeat(client: Client):
19001900
new_config["plugins"] = [
19011901
openai_agents.OpenAIAgentsPlugin(
19021902
model_params=ModelActivityParameters(
1903-
heartbeat_timeout=timedelta(seconds=.2),
1903+
heartbeat_timeout=timedelta(seconds=0.2),
19041904
),
19051905
model_provider=TestModelProvider(WaitModel()),
19061906
)

0 commit comments

Comments
 (0)