Skip to content

Commit

Permalink
chore: minor change to tests (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jul 2, 2024
1 parent 1c59013 commit 4826fe9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 64
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-3a69e1cc9e1efda3fb82d0fb35961749f886a87594dae9d8d2aa5c60f157f5d2.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-27d8d6da893c1cdd53b491ec05153df22b1e113965f253a1d6eb8d75b628173f.yml
8 changes: 4 additions & 4 deletions tests/api_resources/chat/test_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_method_create_with_all_params_overload_1(self, client: OpenAI) -> None:
parallel_tool_calls=True,
presence_penalty=-2,
response_format={"type": "json_object"},
seed=-9223372036854776000,
seed=-9007199254740991,
service_tier="auto",
stop="string",
stream=False,
Expand Down Expand Up @@ -176,7 +176,7 @@ def test_method_create_with_all_params_overload_2(self, client: OpenAI) -> None:
parallel_tool_calls=True,
presence_penalty=-2,
response_format={"type": "json_object"},
seed=-9223372036854776000,
seed=-9007199254740991,
service_tier="auto",
stop="string",
stream_options={"include_usage": True},
Expand Down Expand Up @@ -295,7 +295,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
parallel_tool_calls=True,
presence_penalty=-2,
response_format={"type": "json_object"},
seed=-9223372036854776000,
seed=-9007199254740991,
service_tier="auto",
stop="string",
stream=False,
Expand Down Expand Up @@ -412,7 +412,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
parallel_tool_calls=True,
presence_penalty=-2,
response_format={"type": "json_object"},
seed=-9223372036854776000,
seed=-9007199254740991,
service_tier="auto",
stop="string",
stream_options={"include_usage": True},
Expand Down
8 changes: 4 additions & 4 deletions tests/api_resources/test_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_method_create_with_all_params_overload_1(self, client: OpenAI) -> None:
max_tokens=16,
n=1,
presence_penalty=-2,
seed=-9223372036854776000,
seed=-9007199254740991,
stop="\n",
stream=False,
stream_options={"include_usage": True},
Expand Down Expand Up @@ -98,7 +98,7 @@ def test_method_create_with_all_params_overload_2(self, client: OpenAI) -> None:
max_tokens=16,
n=1,
presence_penalty=-2,
seed=-9223372036854776000,
seed=-9007199254740991,
stop="\n",
stream_options={"include_usage": True},
suffix="test.",
Expand Down Expand Up @@ -160,7 +160,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
max_tokens=16,
n=1,
presence_penalty=-2,
seed=-9223372036854776000,
seed=-9007199254740991,
stop="\n",
stream=False,
stream_options={"include_usage": True},
Expand Down Expand Up @@ -220,7 +220,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
max_tokens=16,
n=1,
presence_penalty=-2,
seed=-9223372036854776000,
seed=-9007199254740991,
stop="\n",
stream_options={"include_usage": True},
suffix="test.",
Expand Down

0 comments on commit 4826fe9

Please sign in to comment.