Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_chat_tools_shape_http_honesty.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_http_chat_accepts_tools_omitted() -> None:

if __name__ == "__main__":
test_http_chat_accepts_valid_function_tools()
test_http_chat_rejects_empty_tools_array()
test_http_chat_accepts_empty_tools_array_as_noop()
test_http_chat_rejects_tool_type_not_function()
test_http_chat_rejects_tool_missing_function_name()
test_http_chat_rejects_tool_function_name_bad_charset()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def test_http_responses_accepts_null_max_tool_calls_and_functions() -> None:
"model": "mock-planner",
"input": "max tool null",
"max_tool_calls": None,
"functions": None,
"function_call": None,
"functions": [],
},
Expand Down
2 changes: 1 addition & 1 deletion tests/test_responses_tools_shape_http_honesty.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_http_responses_rejects_named_tool_choice_not_in_tools() -> None:

if __name__ == "__main__":
test_http_responses_accepts_valid_tools_and_auto_choice()
test_http_responses_rejects_empty_tools_array()
test_http_responses_accepts_empty_tools_array_as_noop()
test_http_responses_rejects_tool_without_function_type()
test_http_responses_accepts_tool_choice_auto_without_tools_as_omit()
test_http_responses_rejects_legacy_functions_surface()
Expand Down
1 change: 0 additions & 1 deletion tests/test_security_hardening.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import json
import os
import socket
import threading
import urllib.error
Expand Down
Loading